[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.02-47-ge4d15dff4f

Git repo owner gitmaster at git.koha-community.org
Mon Jul 27 19:22:36 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, 20.05.x has been updated
       via  e4d15dff4f0cbc6d67082b8e287ea0f5ecfa3e88 (commit)
      from  867b19c7df5c8a837e8c9ce631a3e9d95f31060f (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 e4d15dff4f0cbc6d67082b8e287ea0f5ecfa3e88
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Wed Apr 1 16:06:33 2020 +0000

    Bug 24625: Store showLastPatron information using localStorage
    
    This patch removes the use of jquery.cookie to store "last patron"
    information, using localStorage instead. jquery.cookie.js is obsolete.
    See Bug 24624.
    
    localStorage has been chosen as an alternative in this situation because
    it does not require transmission between the client and the server. See
    Bug 12410.
    
    Because there is no "session only" option with localStorage, additional
    handling of the showLastPatron data is added to the login page. That
    takes care of "stale" last patron information if user didn't log out but
    the session expired for some reason.
    
    To test apply the patch and enable the showLastPatron system preference.
    
     1. Load a patron's account for checkout
     2. Navigate away from patron-related pages: Perform a catalog search
        from the search header form and open the detail page from the search
        results. Confirm that the correct last patron information still
        shows.
     3. Load another patron's account for checkout
        - There should now be a "Last patron" link in the breadcrumbs bar
          which links to the patron in step 1. Hovering your mouse over the
          link should display a tooltip containing the patron's name and
          card number.
        - Click the "X" to clear the last patron information. The last
          patron link should go away.
     4. Log out and log back in. The last patron information should be gone.
    
    Signed-off-by: David Nind <david at davidnind.com>
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit a512ae01fc7e17385e2d2dd42f53f79ae1f55d3a)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt |  2 +
 koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 52 ++++++++++++++-----------
 2 files changed, 31 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list