]> git.koha-community.org Git - koha.git/commit
Bug 17457: Adv. Acquisition search with ISBN variations
authorDavid Bourgault <david.bourgault@inlibro.com>
Mon, 25 Sep 2017 20:22:51 +0000 (16:22 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Mar 2018 14:45:38 +0000 (11:45 -0300)
commitf1c14d25d1bcf1cacb7bdeef3bfc7581f5c830ec
treee3e81cbc1f20a3238fb03ad1bc5d7162722a893d
parent3dda23db34b36992d8694858afe1bb29484ced3f
Bug 17457: Adv. Acquisition search with ISBN variations

Advanced acquisition search will now follow the "SearchWithISBNVariations" system preference.

Test plan :
0) Make sure you have orders pending or completed
1) Enable SearchWithISBNVariations if it is not enabled
2) Search for one of your orders by its ISBN, it should appear
3) Search for the same order by a variation of its ISBN, I used this website to find it : http://www.hahnlibrary.net/libraries/isbncalc.html
You should not get a result.
4) Apply patch
5) Repeat step 2-3. You should get a hit both times.
6) prove t/db_dependent/Acquisition.t

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Acquisition.pm
t/db_dependent/Acquisition.t