[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.10-45-g86822a5bc5

Git repo owner gitmaster at git.koha-community.org
Thu May 14 00:44:35 CEST 2020


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, 19.05.x has been updated
       via  86822a5bc540a5fa88cf57aa626f0f0c5f7d458e (commit)
      from  02cccad3cf5f889f226f8cea4ed81f6ea00a6543 (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 86822a5bc540a5fa88cf57aa626f0f0c5f7d458e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 31 16:39:12 2020 +0200

    Bug 25027: Use localStorage instead of sessionStorage for results browser
    
    Staff side, when a search a done and a result clicked, a browser appears
    on the left, to navigate between the different results.
    
    We use sessionStorage to know the list of biblionumber from the result.
    
    As sessionStorage is only for the current tab, we do some ugly things,
    to catch the click events, then open the new tab, attach it to the
    current window, and put the focus back on the result list.
    
    We really should not do that, and let the user decide what they want to
    do with their clicks!
    
    To do so, let use the correct storage, localStorage, and have the
    results shared between the windows.
    
    We may need to clear that at some point, isn't it?
    
    Test plan:
    Launch a search, click result (left or middle), confirm you see the
    browser and that the window/tab opened like any other websites
    (depending on your web browser settings).
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit 0ac67146b97123c2d408c0c72547d92e13368313)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 koha-tmpl/intranet-tmpl/js/browser.js | 22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list