]> git.koha-community.org Git - koha.git/commit
Bug 19702: Correct cookie path in Basket.js
authorDavid Bourgault <david.bourgault@inlibro.com>
Mon, 27 Nov 2017 21:05:48 +0000 (16:05 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Jan 2018 13:13:29 +0000 (14:13 +0100)
commit1394d78f50a9d63af8e3b170bf2949f88fce3197
treeb00532263c67c16fb4225c470587d31228744c50
parent5a6eae13bfcb7cf08b9b278fcc97a937afd571ec
Bug 19702: Correct cookie path in Basket.js

This corrects the cookie path in bootstrap/js/basket.js. It used to take
the default value (current page path), but will now be "/"

Test plan:
0) Visit the OPAC, add a book to your basket
1) Navigate to the OPAC's homepage (www.domain.com, without the
    /cgi-bin/koha)
    -> The basket will display as empty
    2) Apply patch
    3) Clear your cookies and your cache
    4) Redo step 1)
        -> Basket will display correctly

Patch applies without issue and functions as descibed.
Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7934fea0c4c36f81b943de6c2016f8cedf53486c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/js/basket.js