Bug 10741: reformat test for displaying place hold link in OPAC search results
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Fri, 16 Aug 2013 11:53:04 +0000 (13:53 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 23 Aug 2013 15:03:12 +0000 (15:03 +0000)
commit397ba93f97855625865689ef0dd0c69a20c8a915
tree6c2187af0a0f8351aab1b8a57bffde9345447eca
parent239513dc7a13a1a31356b59ab8e36b120c0fa281
Bug 10741: reformat test for displaying place hold link in OPAC search results

To test:

[1] Turn on the syspref for enabling OPAC holds.
[2] Create an item and bring it up on the OPAC search
    results.  Run through the following possibilities,
    by changing the item, and verify that the place hold
    link in OPAC search results appears only when the item is

    - not lost AND
    - not withdrawn AND
    - not damaged (or is damged and AllowHoldsOnDamagedItems is ON) AND
    - the item is not marked not-for-loan OR
      the item has a negative notforloan value (e.g., it is on order)

    Note that it is necessary to reindex the test bib after making
    each change to the test item.

[3] Also verify that whether or not in the item is in transit does
    NOT affect whether the place hold link appears.
[4] Verify that there is no regression on bug 8975 (i.e., if an
    item is on order, that status should be displayed in staff client
    search results).

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Search.pm