You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The results for the document title typeahead search are most of the time not what I was expecting. So I changed the sort order to descending, the sort column to 3 and the limit to 10 in DocumentEdit.js. It is much better now, as it offers the latest documents matching the typed text.
/** * Returns a promise for typeahead title. */$scope.getTitleTypeahead=function($viewValue){vardeferred=$q.defer();Restangular.one('document/list').get({limit: 10,sort_column: 3,asc: false,search: $viewValue}).then(function(data){deferred.resolve(_.uniq(_.pluck(data.documents,'title'),true));});returndeferred.promise;};
The text was updated successfully, but these errors were encountered:
The results for the document title typeahead search are most of the time not what I was expecting. So I changed the sort order to descending, the sort column to 3 and the limit to 10 in
DocumentEdit.js
. It is much better now, as it offers the latest documents matching the typed text.The text was updated successfully, but these errors were encountered: