Bug 21056: Changing the logged in library can fail sporadically
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 9 Jul 2018 18:05:29 +0000 (14:05 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 21 Sep 2018 10:35:34 +0000 (12:35 +0200)
commitb7ca04b769939fce9ace24c456963f456f0fcbae
treedd3de1377f0b870ae36bd49e358fb3a4c3c7be2d
parent4a0708dd3703d2b605b52438adaac72180e830be
Bug 21056: Changing the logged in library can fail sporadically

We are getting reports that sometimes changing the logged in library via selectbranchprinter.pl sometimes appears to fail. Flushing the session after updating the branch appears to fix this.

Test Plan:
1) Change your logged in library repeatedly. Hopefully ( sort of ) it will fail to change.
   You may want to try various browsers.
2) Apply this patch
3) Note the change no longer fails

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 76a06a7050643add32f4cbccbdc2fb00f66f5485)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0a5dabc27174d5b77783f81c59248f5da8b37c79)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
circ/selectbranchprinter.pl