[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-981-g8e73793

Git repo owner gitmaster at git.koha-community.org
Fri Aug 23 17:46:20 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  8e7379342d7cd8386baf884a77f54f95188bb85c (commit)
       via  397ba93f97855625865689ef0dd0c69a20c8a915 (commit)
       via  239513dc7a13a1a31356b59ab8e36b120c0fa281 (commit)
      from  5ac32b4d11383356405ea76f26751db09cf90231 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8e7379342d7cd8386baf884a77f54f95188bb85c
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Fri Aug 23 15:58:01 2013 +0000

    Bug 10741: (follow-up) add regression test
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 397ba93f97855625865689ef0dd0c69a20c8a915
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date:   Fri Aug 16 13:53:04 2013 +0200

    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 at myacpl.org>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 239513dc7a13a1a31356b59ab8e36b120c0fa281
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date:   Fri Aug 16 13:36:10 2013 +0200

    Bug 10741: restore holdability of in-transit items on OPAC search results
    
    In search results, one could not place a hold on an item in transit
    and for loan (items.notforloan=0).  This appears when AllowOnShelfHolds
    is allowed.
    
    This patch repairs a regression introduced by the patch for bug 8975.
    
    Test plan :
    - Set AllowOnShelfHolds to on
    - Create a record with a normal item : not lost, not withdrawn, not
      damaged, notforloan=0
    - Index this record
    - Perform a search on OPAC that returns this record (and others)
    => You see in actions "Place hold"
    - Add this item in transit : /cgi-bin/koha/circ/branchtransfers.pl
    - Re-perform the search on OPAC
    => You see in actions "Place hold" and item "in transit"
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Search.pm            |   28 +++++++++++-----------------
 t/db_dependent/Search.t |   24 +++++++++++++++++++++++-
 2 files changed, 34 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list