Bug 24786: (follow-up) Cache the register_name in the session
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Aug 2020 12:27:06 +0000 (13:27 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Nov 2020 14:40:00 +0000 (15:40 +0100)
commit1bc723b33c1b3cb6baa67c277fe3ce64779fede1
treed3c77336e0b908312b5f8a53bf104d0b2abc6783
parent114e851f8f3b3dd7c7d0fca627d3c0a4ff655302
Bug 24786: (follow-up) Cache the register_name in the session

This leads to one DB hit less per page load in the staff client when
cash registers are enabled.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth.pm
C4/Context.pm
Koha/Template/Plugin/Registers.pm
circ/set-library.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt