<div dir="ltr">Hi all, I'm not sure I already mentioned this, but I proposed a new table on bug 26129 [1]. The table is quite similar to 'systempreferences'. The key difference is its companion classes are designed to allow per-branch, per-itemtype and per-category options.<div><br></div><div>This is basically a generalization of the 'circulation_rules' table, and also the 'systempreferences' one.</div><div><br></div><div>I originally envisioned it so I could set SMTP servers to libraries without a library_to_smtp table. I abandoned the idea because it was too much for what I was doing, but now I found:</div><div><br></div><div><a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22457">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22457</a></div><div><a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10589">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10589</a></div><div><br></div><div>which basically require this table and methods to calculate the effective (boolean) based on library and patron category. And I wouldn't like to see that implemented by reinventing the wheel.</div><div><br></div><div>The 'configurations' table IS reinventing the wheel, but in a way that can be reused and with a reasonable programming API (i.e. you don't need to create new tables for your per-<something> rules, just reuse this internally).</div><div><br></div><div>We could think of (eventually) refactoring our system preferences to fit here, or not, and just use it as the backend for some settings that require this.</div><div><br></div><div>Cheers</div><div><div><br></div><div>[1] <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26129">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26129</a><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Tomás Cohen Arazi</div><div style="font-size:12.8px">Theke Solutions (<a href="http://theke.io/" target="_blank">http://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div></div></div></div></div></div>