In order to store grid column config preferences locally, a persist-key
attribute needs to be declared for the grid. Thus, for this UI a
'circ.patron.staff_messages' and a 'circ.patron.archived_messages'
persist-keys were added.
Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
<eg-grid
idl-class="ausp"
grid-controls="activeGridControls"
- dateformat="{{$root.egDateAndTimeFormat}}">
+ dateformat="{{$root.egDateAndTimeFormat}}"
+ persist-key="circ.patron.staff_messages">
<eg-grid-menu-item handler="createPenalty"
label="[% l('Apply Penalty / Message') %]"></eg-grid-menu-item>
<eg-grid
idl-class="ausp"
grid-controls="archiveGridControls"
- dateformat="{{$root.egDateAndTimeFormat}}">
+ dateformat="{{$root.egDateAndTimeFormat}}"
+ persist-key="circ.patron.archived_messages">
<eg-grid-field path="set_date" label="[% l('Applied On') %]" datatype="timestamp"></eg-grid-field>
<eg-grid-field path="standing_penalty.label"></eg-grid-field>