[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.16-19-g47cd8da

Git repo owner gitmaster at git.koha-community.org
Mon Feb 20 10:18:59 CET 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, 3.22.x has been updated
       via  47cd8dac59b02f0fcd16bd5bdefa0918e7331349 (commit)
      from  da8f4e0aa360733f69fb4038651fc57a748c2b40 (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 47cd8dac59b02f0fcd16bd5bdefa0918e7331349
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sat Jan 21 08:48:20 2017 +0100

    Bug 16115: Remove JS error on item search if NOT_LOAN values do not exist
    
    If NOT_LOAN is not present, the item search form will raise a JS error:
    SyntaxError: expected expression, got '}'
    
    This patch fixes it by handling this specific case.
    
    Note that the "Status" column is still displayed.
    
    Test plan:
    Remove your NOT_LOAN authorised values
    Go on the item search form
    => You will not get the JS error and the "Status" bloc is no longer
    displayed. There is no need to display it if empty.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 27a4149625252e4c28dc97df998d82fd6f2652b8)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    (cherry picked from commit e0b64c0f4ae29eae1a7c71d3d9e328683aa51317)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 .../prog/en/modules/catalogue/itemsearch.tt          |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list