Description
Fridolin Somers
2021-03-03 13:31:11 UTC
Created attachment 117573 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT display In MARC21 XSLT display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260$abc 2) Look at first record details page (using XSLT display) 3) Click on $a link => you see both records 4) Click on $c link => you see both records If there are multiple values for a field, then the link/search only picks up the first item. For example: 260$a with two values Beijing ; Sebastopol, CA : ==> single link, not linked individually, search is http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=pl:%22Beijing%20%3B%22 Ah good point Created attachment 117631 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT display In MARC21 XSLT display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Look at first record details page (using XSLT display) 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records (In reply to David Nind from comment #2) > If there are multiple values for a field, then the link/search only picks up > the first item. > > For example: 260$a with two values Beijing ; Sebastopol, CA : > ==> single link, not linked individually, search is > http://127.0.0.1:8081/cgi-bin/koha/catalogue/search.pl?q=pl: > %22Beijing%20%3B%22 Since $a and $c are repeatable, I've added a foreach loop in order to have a link per subfield. Thanks a lot for testing David ;) Created attachment 117654 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT display In MARC21 XSLT display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Look at first record details page (using XSLT display) 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records Signed-off-by: David Nind <david@davidnind.com> Can you please make the changes to the OPAC XSLT as well so they match? (In reply to Katrin Fischer from comment #7) > Can you please make the changes to the OPAC XSLT as well so they match? Sure Created attachment 120973 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT intranet display In MARC21 XSLT intranet display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in staff inteface 2) Look at first record details page in staff interface 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records Signed-off-by: David Nind <david@davidnind.com> Created attachment 120974 [details] [review] Search link for 260 a and c in MARC21 XSLT OPAC display In MARC21 XSLT OPAC display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in OPAC 2) Look at first record details page in OPAC 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records Created attachment 120975 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT OPAC display In MARC21 XSLT OPAC display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in OPAC 2) Look at first record details page in OPAC 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records Created attachment 120998 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT intranet display In MARC21 XSLT intranet display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in staff inteface 2) Look at first record details page in staff interface 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records Signed-off-by: David Nind <david@davidnind.com> Created attachment 120999 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT OPAC display In MARC21 XSLT OPAC display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in OPAC 2) Look at first record details page in OPAC 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records https://bugs.koha-community.org/show_bug.cgi?id=27850 Signed-off-by: David Nind <david@davidnind.com> Created attachment 123122 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT intranet display In MARC21 XSLT intranet display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in staff inteface 2) Look at first record details page in staff interface 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Created attachment 123123 [details] [review] Bug 27850: Search link for 260 a and c in MARC21 XSLT OPAC display In MARC21 XSLT OPAC display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in OPAC 2) Look at first record details page in OPAC 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records https://bugs.koha-community.org/show_bug.cgi?id=27850 Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed to master for 21.11, thanks to everybody involved! Enhancement not backported for 21.05 |