|
|
@@ -387,6 +387,8 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
|
|
|
var i = this.count/this.json.pageSize;
|
|
|
this.pages = (i.toInt()<i) ? i.toInt()+1 : i;
|
|
|
this.currentPage = 1;
|
|
|
+ this.currentPage = this.options.defaultPage || 1;
|
|
|
+ this.options.defaultPage = null;
|
|
|
},
|
|
|
lookup: function(data){
|
|
|
this.getLookupAction(function(){
|