]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Feb 2019 13:34:57 +0000 (13:34 +0000)
commit12fe392d26fda1559f5690a71330a93ffc72a6b7
tree901796335856d5a16209b2ff7c2c8de98fb66dda
parent7266d50dd2725c87acf889aa7d6a211999ca1c47
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>
C4/Items.pm