Bug 24420: Display waiting on hold items in the Cataloging search results Location...
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 14 Jan 2020 15:40:38 +0000 (15:40 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Feb 2020 12:36:46 +0000 (12:36 +0000)
To Test:
1. Place a hold on an item and trigger it.
2  Do a cataloging search that would include this record.
3. Notice that the 'Location' column does not account for this onhold
item.
4. Apply patch and look at catalog results again.
5. You should see information display about the item being on hold.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt

index 100cabd..57fa62b 100644 (file)
                                             [% IF ( resultsloo.itemlostcount ) %] Lost ([% resultsloo.itemlostcount | html %])<br />[% END %]
                                             [% IF ( resultsloo.orderedcount ) %] On order ([% resultsloo.orderedcount | html %])<br/>[% END %]
                                             [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount | html %])[% END %]
+                                            [% IF ( resultsloo.onholdcount ) %] Waiting on hold ([% resultsloo.onholdcount | html %])[% END %]
                                         </span>
                                     </td>
                                     <td>