Permalink
Browse files

Get up to 100 collections at once instead of default 10

  • Loading branch information...
1 parent 57a8d8c commit 450fc4465b4c472125b1d7b56183384efce7e645 @Fiedzia committed Sep 14, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 fangofmongo/static/fom/js/fangofmongo_ui.js
View
@@ -763,6 +763,7 @@ Fom_mongo_ajax = $.extend({}, $.ui.fom_object.prototype, {
{$where :'this.name.indexOf("' + this.options['database'] + '.") == 0 && this.name.indexOf("$") == -1'},
{
sort: [['name',1]],
+ limit: 100,
callback: function(data){
if ( 'error' in data ) { alert('error: ' + data['error']); return; }
var coll_list = Array();

0 comments on commit 450fc44

Please sign in to comment.