[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.06-134-gc0e0e0a

Git repo owner gitmaster at git.koha-community.org
Tue May 27 16:18:33 CEST 2014


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.14.x has been updated
       via  c0e0e0ad1995e90226ae86b699848b68cd3801d9 (commit)
      from  d476676d9e266959e350cea024a46cb40c7542c2 (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 c0e0e0ad1995e90226ae86b699848b68cd3801d9
Author: Fridolin SOMERS <fridolin.somers at biblibre.com>
Date:   Fri Jan 10 11:42:06 2014 +0100

    Bug 11516: make OPAC search term highlighting work in results browser
    
    When OpacHighlightedWords syspref is on, the current search terms are
    highlighted in results and detail pages.
    
    This workes in detail page with the URL param 'query_desc'.
    
    This parameter must be managed in results browser (appears when
    OpacBrowseResults syspref is on) links.
    
    This patch adds query_desc parameter in results list and changes next
    nd previous links to be build into TT instead of perl to manage
    query_desc parameter only into TT.
    
    Test plan :
    - Edit sysprefs :  OpacHighlightedWords on, OpacBrowseResults on.
    - Perform a search with a term existing into title
    => You see the term highlighted in search results
    - Go to detail of a result with highlight
    => You see the term highlighted
    - Click on "Next"
    => you see query_desc in URL, and if search term is present it is
       highlighted
    - Same for "Previous"
    - Click on "Browse results"
    - Click on a result
    => you see query_desc in URL, and if search term is present it is
       highlighted
    
    Signed-off-by: Aurélie <aurelie.fichot at gmail.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    (cherry picked from commit 9d9a002432554913bc21f91cae031b3afa9077f9)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 .../opac-tmpl/bootstrap/en/modules/opac-detail.tt  |   13 ++++++++---
 koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt |   23 +++++++++++++++++---
 opac/opac-detail.pl                                |   17 ++++++++-------
 3 files changed, 39 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list