Bug 20310: (follow-up) Add or remove orgcode in second try
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 8 Sep 2020 12:59:53 +0000 (12:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jul 2021 13:47:34 +0000 (15:47 +0200)
commit1f8d0a8fe5dd99ce072d184baab875e568a9b8cd
treea890c916a13b0b1ef45d344bad4c9f2c36d8c838
parente5651d4dad95bb5f5ba2be8eb418c956a05fcf77
Bug 20310: (follow-up) Add or remove orgcode in second try

We did remove an orgcode, but we could also do the other way
around.

Note: Hard to include in the unit test since it mocks the whole
search engine part.

Test plan:
[1] Run t/db_dependent/Koha/Biblio/host_record.t
[2] Test host 001 = number and child 773 = (org)number
[3] Test host 001 = (org)number and child 773 = number

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm