未验证 提交 b4646d7d 编写于 作者: S sercan

resolves #506

上级 4458d94b
......@@ -8,8 +8,8 @@ import './find.html';
Template.find.onRendered(() => {
Querying.initOptions(Enums.CURSOR_OPTIONS);
$('#cmbFindCursorOptions').val('LIMIT').trigger('chosen:updated');
SessionManager.set(SessionManager.strSessionSelectedOptions, ['LIMIT']);
$('#cmbFindCursorOptions').val(['LIMIT', 'SORT']).trigger('chosen:updated');
SessionManager.set(SessionManager.strSessionSelectedOptions, ['LIMIT', 'SORT']);
});
Template.find.executeQuery = Querying.Collection.Find.execute.bind(Querying.Collection.Find);
......
......@@ -2,7 +2,7 @@
<div class="form-group">
<label class="col-lg-1 control-label">{{_ "sort"}}</label>
<div id="divSort" class="col-lg-11">
<textarea id="txtSort" class="form-control"></textarea>
<textarea id="txtSort" class="form-control">{ "_id" : -1}</textarea>
</div>
</div>
</template>
\ No newline at end of file
</template>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册