2 [% ctx.page_title = 'Flattener Test' %]
5 <script type="text/javascript">
6 dojo.require("dijit.form.Button");
7 dojo.require("openils.widget.FlattenerGrid");
9 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
10 <div dojoType="dijit.layout.ContentPane"
11 layoutAlign="top" class="oils-header-panel">
12 <div>Flattener Test</div>
14 <button dojoType="dijit.form.Button"
15 onClick="grid.showCreateDialog()">New Thing</button>
16 <button dojoType="dijit.form.Button"
17 onClick="grid.deleteSelected()">Delete Selected Thing</button>
20 <!-- <div class="oils-acq-basic-roomy">
21 blah, a dropdown or something here (optional; typical interfaces might
22 have a filtering org select here. Then again, why not use
23 showLoadFilter on the Grid instead?)
28 dojoType="openils.widget.FlattenerGrid"
29 columnPersistKey='"conify.flattener_test"'
35 defaultSort="['call_number']"
36 mapExtras="{copy_status: {path: 'status.name', filter: true}}"
37 query="{'copy_status': ['Available','Reshelving','In process'],'circ_lib': 'BR1'}">
40 <th field="barcode" fpath="barcode" ffilter="true">Barcode</th>
41 <th field="circ_lib_name" fpath="circ_lib.name" ffilter="true">Circulation Library Name</th>
42 <th field="circ_lib" fpath="circ_lib.shortname" ffilter="true">Circulation Library</th>
43 <th field="call_number" fpath="call_number.label" ffilter="true"></th>
44 <th field="shelving_loc" fpath="location.name" ffilter="true">Shelving Location</th>