config.xml_transform stores large chunks of XML. Fetching it angers
Ejabberd on my test system. All we need is the name, so use the new
AutoFieldWidget.searchOptions param to do just that.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
<script type ="text/javascript">
dojo.require('openils.widget.AutoGrid');
openils.Util.addOnLoad(
- function() { cradGrid.loadAll({order_by : {crad : 'name'}}) }
+ function() {
+ // avoid loading the entire config.xml_transform object
+ cradGrid.overrideWidgetArgs.format = {searchOptions : {"select":{"cxt":["name"]}}};
+ cradGrid.loadAll({order_by : {crad : 'name'}})
+ }
);
</script>