[koha-commits] main Koha release repository branch master updated. v16.11.00-779-g2266733

Git repo owner gitmaster at git.koha-community.org
Fri Mar 31 17:17:58 CEST 2017


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  2266733767536ddf47f31821ba87d860c246700f (commit)
       via  60ba1bf5dd26b75d86f31325183eea4359702f84 (commit)
      from  36cfb22621c5afa1d1e094a51e9d68937d1bf7d5 (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 2266733767536ddf47f31821ba87d860c246700f
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Dec 29 11:40:57 2016 -0300

    Bug 17825: (followup) Remove unused function AttributeTypeExists
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 60ba1bf5dd26b75d86f31325183eea4359702f84
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Dec 29 11:32:27 2016 -0300

    Bug 17825: Remove the use of AttributeTypeExists from opac-user.pl
    
    With the introducion of Koha::Object-based
    Koha::Patron::Attribute::Type(s) there's no need for using this
    function.
    
    This patch replaces it with a regular ->search + ->count call.
    
    To test:
    - Have a user with checkouts logged into the OPAC on the opac-user.pl
    page
    - Set the SHOW_BCODE attribute to 'no' on the staff interface for the
    user.
    - Reload opac-user.pl
    => SUCCESS: The barcode is not shown for checked out items.
    - Set the SHOW_BCODE atttribute to 'yes' on the staff interface for the
    user.
    - Reload opac-user.pl
    => SUCCESS: The barcode is shown for checked out items.
    - Delete the Patron attribute type SHOW_BCODE
    - Reload opac-user.pl
    => SUCCESS: No barcode is shown for checked out items
    - Sign off :-D
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Members/AttributeTypes.pm |   16 ----------------
 opac/opac-user.pl            |    4 +++-
 t/Members_AttributeTypes.t   |   10 +---------
 3 files changed, 4 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list