Bug 21946: (follow-up) Add optgroup label in circ rules
authorOwen Leonard <oleonard@myacpl.org>
Tue, 28 Jul 2020 13:17:54 +0000 (13:17 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Aug 2020 08:13:14 +0000 (10:13 +0200)
commitccc7b3c8947c190b511ce5535382e50793f24c26
tree63915c214339e77c0a7a56984e276729e773940e
parent6655961517b36c16b92ca5880f4dcf260ce4052f
Bug 21946: (follow-up) Add optgroup label in circ rules

This patch adds a label to the optgroup showing child itemtypes in the
circulation and fine rules interface.

The parent itemtype description is the optgroup label, and then the
parent itemtype is repeated as an <option> with the additional label
"All"

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt