[dashboard] Avoid double execute call on SQL dashboard opening
Slightly different initial loading with non Solr.
@@ -2039,8 +2039,10 @@ var SearchViewModel = function (collection_json, query_json, initial_json, has_g
self.isToolbarVisible(self.isEditing());
self.initial.init();
self.collection.syncFields();
+ if (self.collection.engine() == 'solr') {
self.search(callback);
}
+ }
self.searchBtn = function () {
self.query.start(0);
