[koha-commits] main Koha release repository branch 3.8.x updated. v3.08.04-7-g8327455

Git repo owner gitmaster at git.koha-community.org
Thu Aug 30 00:00:53 CEST 2012


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, 3.8.x has been updated
       via  8327455dd545006b8ab10dd990036a52eb1958c6 (commit)
       via  b6724f8544cfb7c3952cc8c981dafc88693c4cf3 (commit)
      from  b503f539ee1eda98e957e20586ebb3c33a2d077c (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 8327455dd545006b8ab10dd990036a52eb1958c6
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Aug 14 13:17:38 2012 -0400

    Bug 8640 - GetHardDueDate functions incorrectly
    
    GetHardDueDate works just like GetIssuingRule, but it not only tests for having
    found an row of results before returning, but checks for the existence of a
    hard due date as well. That means that even if it finds a matching rule, unless
    that rule has a hardduedate set it will toss it and keep looking!
    
    So, for example, even though there is a matching rule for say "STAFF / VIDEO / *",
    but it has no hardduedate. So it gets tossed and the subroutine keeps looking.
    If the next match, "STAFF / * / *" *has* a hardduedate, it is the one returned.
    
    This means that if a more specific rule has no hard due date,
    it is overridden by a less specific rule that does have a hard due date.
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

commit b6724f8544cfb7c3952cc8c981dafc88693c4cf3
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Wed Aug 15 15:48:05 2012 -0400

    Bug 8648: searchResults uses SQL query rather than GetMarcFromKohaField
    
    Around line 1470-something:
    
        my $sth =
        $dbh->prepare(
                "SELECT tagfield FROM marc_subfield_structure WHERE kohafield LIKE
                'items.itemnumber'"
                );
        $sth->execute;
    
    This patch replaces that with a call to GetMarcFromKohaField.
    
    To test:
    1) Apply patch.
    2) Do a search that returns both available and unavailable items.
       You'll know if the patch isn't working.
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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

Summary of changes:
 C4/Circulation.pm |   57 +++++++++-------------------------------------------
 C4/Search.pm      |    7 +-----
 2 files changed, 11 insertions(+), 53 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list