[Koha-devel] New 'configurations' table (26129)

Tomas Cohen Arazi tomascohen at gmail.com
Mon Aug 3 19:59:37 CEST 2020


TL;DR;
This email is for getting some feedback about a new table I'm proposing to
add that implements a pattern I'm seeing more and more often as required:
global, and per-library, per-item type and per-category settings. It can be
easily extended with new constraints as well.

Hi all, I wanted to highlight bug 26129 [1] which proposes to add a new
table, for storing configuration entries. It differs from the
systempreferences table basically on the ability to set values with
per-library, per-item type and per-category basis, as well as default
catch-all.

It is the result of noticing that the smtp_servers table I was going to add
on bug 22343 [2], could be easily generalized and could become useful.

If someone is willing to do it, we could migrate systempreferences into
this new table, but that definitely deserves more thinking. The SMTP
configuration page won't live in the sysprefs page, and so a way to
differentiate them could be added.

One sample use of this configurations table, could be moving z39.50 servers
there.

[1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26129
[2] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22343

-- 
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200803/71a97cd6/attachment.htm>


More information about the Koha-devel mailing list