[Koha-bugs] [Bug 13478] Force item holds only for specific biblios

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 18 13:37:14 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13478

--- Comment #1 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 34513
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34513&action=edit
Bug 13478: Force item holds only for specific biblios

This patch adds the option to selectively force item holds for specific
biblionumbers. These numbers are saved in a separate table.
The patch adds routine C4::Reserves::CheckBiblioForceItemHolds. It is
tested in Reserves.t.
The preference OPACItemHolds gets a new choice: selectiveforce.
The description of the pref is adjusted.

Please note that this option is specifically targeted for the OPAC. Staff
users still have both possibilities.

A follow-up patch adds the possibility for staff users to add or remove
a biblio from the list of books with forced item holds.

TEST PLAN:
[ 1] Run the database revision.
[ 2] Run the unit test t/db_dependent/Reserves.t.
[ 3] Set OPACItemHolds to force.
[ 4] Add a hold in the OPAC; verify that you cannot place a next/av hold.
[ 5] Set OPACItemHolds to Allow.
[ 6] Add a hold in the OPAC; verify that you can place both hold types.
[ 7] Set OPACItemHolds to Do not allow.
[ 8] Add a hold in the OPAC; verify that you can only place next/av holds.
[ 9] Add two biblio numbers into table biblio_force_item_holds.
[10] Set OPACItemHolds to Selectively force.
[11] Add a hold on three biblionumbers at once (including these two).
     Verify that you have two hold types for the single biblio and that
     you have only item holds for the two other biblios.

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


More information about the Koha-bugs mailing list