]> git.koha-community.org Git - koha.git/commit
Bug 22140: Use of EasyAnalyticalRecords pref is get_hostitemnumbers_of
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Feb 2019 14:03:01 +0000 (15:03 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Feb 2019 13:25:03 +0000 (13:25 +0000)
commit4f531c88ae012796e59f576d1aa94f5a323b1800
tree16335fe3954c7e7ce1982af8765ba43f9717c934
parent2519b3310f645554e1f2175535255dfb79766c41
Bug 22140: Use of EasyAnalyticalRecords pref is get_hostitemnumbers_of

Like Bug 20702 defined GetHostItemsInfo does nothing if EasyAnalyticalRecords pref is disabled, get_hostitemnumbers_of must be dependant on this pref too.

Test plan :
1) Build an analytical record with 773$0 and $9
2) Enable EasyAnalyticalRecords
4) Place an hold on the record
5) => You see the linked item
6) Disable EasyAnalyticalRecords
7) Place an hold on the record
8) => You dont see the linked item

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 12fe392d26fda1559f5690a71330a93ffc72a6b7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Items.pm