Bug 13640: Do not display unreserveable items on the Holds to pull screen
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 13 May 2019 14:57:52 +0000 (09:57 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 16 Jul 2019 06:21:39 +0000 (08:21 +0200)
commit82130e73860a96025f4cfbeb7dd0bc4d091d6e33
treeb2be02b492f57b729d4f7309cfa6a8d2d4582fc9
parentb68f2aab6e7c33a26cf9568cca3b75ea30f0a014
Bug 13640: Do not display unreserveable items on the Holds to pull screen

We should only display the items that meet the hold policies

Test plan:
It would be good to have a huge list of holds displayed on the "Holds to
pull" and confirm that the display is now correct.

One of the possible test plan has been let in a comment on the bug
report:
Bib Record A has 2 items:

Item Record X (can be placed on hold)
Item Record Y (cannot be placed on hold)

If you place a bib-level hold on Bib Record A, both Item Record X and
Item Record Y show up as available items in the Holds To Pull List.

With this patch applied you must not see Y

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
circ/pendingreserves.pl