Koha/catalogue
Nick Clemens fd5686b156
Bug 12537: Don't retrieve XISBN results for the same biblionumber
For a biblio with multiple ISBNS we sometimes get our own record back when
check XISBN, we should test for this

To test:
1 - Edit a record in the catalogue, add two isbns:
     0521240670
     0521284198
2 - Enable ThingISBN and FRBRizeEditions and OPACFRBRizeEditions
3 - View the record in staff and OPAC
4 - You should see editions tab pointing to the same record
5 - Apply patch
6 - Reload the record details, you should no longer see editions tab
7 - Add the second ISBN to another record
8 - Reload details for original record, you shoudl see editions linking to the record with second ISBN
9 - prove -v t/db_dependent/XISBN.t

NOTE: Current tests don't work under elasticsearch, but the code does, tests should be rewritten on another bug

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Arthur Bousquet <arthur.bousquet@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-07-15 11:27:59 +01:00
..
detail.pl Bug 12537: Don't retrieve XISBN results for the same biblionumber 2019-07-15 11:27:59 +01:00
export.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
getitem-ajax.pl Bug 22762: Fix items.collection display on receiving 2019-04-25 09:52:31 +00:00
image.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
imageviewer.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
ISBDdetail.pl Bug 8995: (follow-up) Add tests, move open_url/coins routines to Koha namespace 2019-04-29 15:34:10 +00:00
issuehistory.pl Bug 21291: (follow-up) Pass subscriptionsnumber to all tools in staff detail's sidebar 2018-10-15 13:40:47 +00:00
itemsearch.pl Bug 22424: Add search by all lost statuses to item search 2019-04-30 13:39:44 +00:00
labeledMARCdetail.pl Bug 22034: Handle default framework for MARC view with framework 2019-01-02 20:52:53 +00:00
MARCdetail.pl Bug 8995: (follow-up) Add tests, move open_url/coins routines to Koha namespace 2019-04-29 15:34:10 +00:00
moredetail.pl Bug 20912: Rental Fees based on Time Period 2019-03-07 17:22:43 +00:00
search-history.pl
search.pl Bug 14419: Expanding facets (Show more) performs a new search 2019-07-04 09:22:02 +01:00
showmarc.pl Bug 20083: Information disclosure when (mis)using the MARC Preview feature 2018-04-04 15:40:07 -03:00
stockrotation.pl Bug 21291: (follow-up) Pass subscriptionsnumber to all tools in staff detail's sidebar 2018-10-15 13:40:47 +00:00
updateitem.pl Bug 21206: Replace C4::Items::GetItem 2019-02-26 13:24:07 +00:00