[Koha-bugs] [Bug 21994] Multiple system preferences in a group should be separated into new lines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 17 12:00:26 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21994

Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |In Discussion

--- Comment #1 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Looking into this a bit further, it's not a straightforward as it first
appears. There is no defined delimiter between multiple prefs within a group,
so there's no way of knowing where one ends and the next begins. The template
just iterates through all entries in a group (or "line" as they're called in
the template) whether they're text, form inputs etc.

So, we either need to create a delimiter in the preferences/*.pref files to
define where one pref in a group ends and the next begins. Or, and this feels
like a better solution, stop putting multiple prefs in a single group. As far
as I can see, there's no reason for doing this. If we chose the latter option,
there would be a small amount of work involved in separating out multiple prefs
into their own lines. A quick experiment with patrons.pref, suggests this is
all that's required.

Setting this bug to "In discussion" in case anyone has any further insight into
this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list