[koha-commits] main Koha release repository branch master updated. v3.22.00-1423-gc22934c

Git repo owner gitmaster at git.koha-community.org
Fri Apr 29 15:42:04 CEST 2016


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  c22934c3e6b7900f2400e13a073af4a7c123d635 (commit)
       via  78605bceb368ed298e7d47fbb64b255dfcdd2842 (commit)
      from  792017e54864341a5604f2b9cf9acb143f1466c1 (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 c22934c3e6b7900f2400e13a073af4a7c123d635
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Fri Apr 29 13:51:00 2016 +0000

    Bug 16041 - DBRev 3.23.00.058
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 78605bceb368ed298e7d47fbb64b255dfcdd2842
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Mar 30 08:42:12 2016 +0100

    Bug 16041: Turn off StaffAuthorisedValueImages by default
    
    This feature is enabled by default, but the users are not aware of it
    and it costs a lot of time processing to get the images.
    
    There are 2 prefs to drive this feature: StaffAuthorisedValueImages and
    AuthorisedValueImages. AuthorisedValueImages is not added by sysprefs.sql and
    does not appear in updatedatabase.pl, we could easily imagine that
    nobody uses it.
    With XSLT enabled, the feature is only visible on a record detail page
    at the OPAC, if AuthorisedValueImages is set.
    Otherwise you need to turn the XSLT off. In this case you will see the
    images on the result list (OPAC+Staff interfaces) and OPAC detail page,
    but not the Staff detail page.
    
    The idea of this patch is to introduce a quick switch if the feature is
    not used by the library.
    
    Test plan:
    1/ Turn the pref on and set authorised_values.imageurl to NULL
    Execute the DB entry
    => The pref have been turned off
    2/ Turn the pref on and set an image for an authorised value
    Execute the DB entry
    You will get a warning
    3/ Turn the pref off and set an image for an authorised value
    Execute the DB entry
    You will get a warning
    4/ Turn the pref off and set authorised_values.imageurl to NULL
    Execute the DB entry
    You won't get a warning
    
    Note that the opac detail page now checks the pref before retrieving the
    images.
    
    Followed test plan, works as expected.
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Fixed update message 'that means'.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 Koha.pm                                |    2 +-
 installer/data/mysql/sysprefs.sql      |    2 +-
 installer/data/mysql/updatedatabase.pl |   33 ++++++++++++++++++++++++++++++++
 opac/opac-detail.pl                    |    4 +++-
 4 files changed, 38 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list