[Koha-bugs] [Bug 14876] Show number of holds per record on the search results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 18 06:03:03 CEST 2016


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

Liz Rea <liz at catalyst.net.nz> changed:

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

--- Comment #3 from Liz Rea <liz at catalyst.net.nz> ---
Created attachment 53465
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53465&action=edit
[SIGNED-OFF] Bug 14876 - Show number of holds on the staff side next to 'holds'
link

This patch adds a a Holds plugin for the templates to count existing
holds on a record.

We then use this in
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
to display the current number of holds on a record.

To test:
1 - Search in staff
2 - Note holds link has no extra information
3 - Apply patch
4 - prove -v t/db_dependent/Template/Plugin/Holds.t
5 - Do search in staff that returns records with some holds (i.e. place
        some holds)
6 - Note the number of holds now displays next to the text of the link:
    Holds (#)

Signed-off-by: Liz Rea <liz at catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list