Le 22/03/2012 18:18, Chris Nighswonger a écrit : > Recently the need has arisen locally to run the self-checkout (sco) under > multiple user accounts to accommodate multiple branches using the sco > module.
Hi chris, I had the idea of just adding a "branchcode" column to the systempreferences and let the library define systempreferences for "" (default behaviour) or "specified branch" In C4->context(preference)->{anysyspref}, we could just do: SELECT * FROM systempreference WHERE variable="anysyspref" AND branchcode=<userbranchcode>; if no result SELECT * FROM systempreference WHERE variable="anysyspref" AND branchcode=""; Thus, any syspref could be not systemwide, but librarywide. That could be very nice to have, for example, the default library network logo if you're not logged in in OPAC, then your own library logo once you're logged in. Or css, or any syspref. For a few sysprefs that would be totally irrelevant to have "local" sysprefs (like MARC flavour or IndependantBRanches), but that's so obvious that I don't think we even should care in the code, just warn in the doc. -- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/