[Koha-bugs] [Bug 8975] search results should say on order in staff client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 2 19:33:43 CET 2012


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

Nicole C. Engard <nengard at gmail.com> changed:

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

--- Comment #4 from Nicole C. Engard <nengard at gmail.com> ---
Created attachment 13237
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13237&action=edit
[SIGNED-OFF] Bug 8975 - search results should say on order in staff client

In order to allow holds on items with notforloan = -1, processing
of "unavailable" items in Search.pm was altered to exclude items
with notforloan < 0. (See Bug 2341: items marked 'on order' not
 reserveable from search results). Doing so meant that such items
were excluded from the list, in staff client search results, of
items which are unavailable.

This patch changes the logic of that processing so that items
with notforloan < 0 are considered unavailable, but can still
be placed on hold.

To test, edit a record with a single item and view that record
in search results. When the item is is on order (notforloan -1)
it should say so. The holds link should be INactive only if:

- item is withdrawn AND/OR
- item is lost AND/OR
- item is damaged (and AllowHoldsOnDamagedItems is off) AND/OR
- item is not for loan, with notforloan > 0

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>

All tests pass (note that a reindex is required if changing item
statuses - which is why my first tests failed).

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


More information about the Koha-bugs mailing list