Bug 29523: Cache the restricted branches list
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 3 Mar 2022 14:40:20 +0000 (14:40 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 27 Oct 2023 19:40:44 +0000 (16:40 -0300)
commit2c502d320efeda7734d8e328f1feaad2dcd64ca8
tree2b9386af206e1f47ddbb6cd44efb9fbb711dd305
parent1477ffc7529277f49791966451dcb9a1c798b017
Bug 29523: Cache the restricted branches list

This patch introduces a very localised cache of the restricted branches
list in the logged in patron object.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
t/db_dependent/Koha/Patrons.t