LP#1568195: fix retrieving big OUS batches user/gmcharlt/lp1568195_retrieve_big_ous_batches
authorGalen Charlton <gmc@esilibrary.com>
Sat, 9 Apr 2016 00:45:17 +0000 (20:45 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 9 Apr 2016 00:45:17 +0000 (20:45 -0400)
commit03937e13028611cf556c3138c15885ef69a3841f
treeb7e8bf823d0ee52486470b18293ab98bbaebb027
parentb36c80aaf410f54792bdd57b0c15f634566af50d
LP#1568195: fix retrieving big OUS batches

This patch fixes a regression introduced in LP#1501471
where the Library Settings Editor could fail to retrieve
the values of org unit settings if more than 99 were
requested at a time.

To test
-------
[1] Open the XUL library settings editor and ensure that
    no search filters are in effect. Note that values
    are not displayed for any of the OU settings, and that
    the Pg log contains error messages like this:

    "ERROR: cannot pass more than 100 arguments to a function"

[2] Apply the patch.
[3] Repeat step one, and verify that values are now retrieved
    for all of the OU settings that have values set.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm