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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 10 Aug 2018 07:43:50 +0000 (08:43 +0100)
commit0a5dabc27174d5b77783f81c59248f5da8b37c79
treed3953ea70d552c998c56256a0dfe5cbc18a15d14
parent54d960cb86b91bb21cc7c92e1feef9970faaf8a1
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>
circ/selectbranchprinter.pl