[koha-commits] main Koha release repository branch new/bug_6390 updated. v3.04.00-727-g58bdfdb

Git repo owner gitmaster at git.koha-community.org
Sun Nov 6 17:56:04 CET 2011


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, new/bug_6390 has been updated
       via  58bdfdb08883eb52777321f883491eaff1493857 (commit)
      from  bc33391fc5491e0acbc9431d3a6b24c4f357ff79 (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 58bdfdb08883eb52777321f883491eaff1493857
Author: Ian Walls <ian.walls at bywatersolutions.com>
Date:   Tue Oct 18 16:13:15 2011 -0400

    Bug 6390 Followup: Basket's authorisedby might not be a borrowernumber
    
    aqbasket.authorisedby is not foreign key constrainted to borrowers.borrowernumber,
    so if it's anything other than that, vendor search breaks by using an undefined value
    (GetMember() on an invalid borrowernumber) as a HASH ref.
    
    This patch sets the branchcode (the desired value from GetMember) to a blank value, then only
    changes it if GetMember is defined.  In the case where the authorisedby librarian has been deleted,
    or the value is otherwise invalid, and AcqViewBaskets is set to 'branch', the basket will not appear
    except to superlibrarians
    
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Invalid borrowernumber in aqbasket.authorisedby no longer breaks search.

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

Summary of changes:
 acqui/booksellers.pl |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list