/* Save original query for further filtering later */
this._baseQuery = dojo.clone(this.query);
- this._startup_inherited = this.inherited;
- this._startup_arguments = arguments;
-
if (!this.columnPicker) {
this.columnPicker =
new openils.widget.GridColumnPicker(
"_finishStartup": function() {
- if (!this.store) {
- this.setStore( /* this exact method chosen intentionally */
- new openils.FlattenerStore({
- "fmClass": this.fmClass,
- "fmIdentifier": this.fmIdentifier,
- "mapClause": (this.mapClause ||
- this._cleanMapForStore(this._generateMap())),
- "baseSort": this.baseSort,
- "defaultSort": this.defaultSort
- })
- );
- }
-
- this._startup_inherited(this._startup_arguments);
+ this.setStore( /* this exact method chosen intentionally */
+ new openils.FlattenerStore({
+ "fmClass": this.fmClass,
+ "fmIdentifier": this.fmIdentifier,
+ "mapClause": (this.mapClause ||
+ this._cleanMapForStore(this._generateMap())),
+ "baseSort": this.baseSort,
+ "defaultSort": this.defaultSort
+ }), this.query
+ );
this._startupGridHelperColumns();