https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20702

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #75195|0                           |1
        is obsolete|                            |

--- Comment #11 from Katrin Fischer <[email protected]> ---
Created attachment 76198
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76198&action=edit
Bug 20702: Bind results of GetHostItemsInfo to the EasyAnalyticalRecords pref

Triggered by the finding on bug 20697.
The three calls of GetHostItemsInfo should be controlled by the pref. This
patch makes the sub return an empty list when the pref is disabled.

The patch simplifies the sub by merging the two identical foreach loops
depending on the field number in MARC21/UNIMARC.

Will add a unit test on a follow-up patch.

Test plan:
See next patch.

Signed-off-by: Marcel de Rooy <[email protected]>

Signed-off-by: Mark Tompsett <[email protected]>

Signed-off-by: Katrin Fischer <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to