1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

filter docs by category, search query params

This commit is contained in:
Harvey Kandola 2017-12-05 11:34:18 +00:00
parent 666ab3151e
commit 9fd53142f3
6 changed files with 18 additions and 19 deletions

View file

@ -18,6 +18,8 @@ export default Controller.extend(NotifierMixin, {
documentService: service('document'),
folderService: service('folder'),
localStorage: service('localStorage'),
queryParams: ['category'],
category: '',
actions: {
onAddSpace(payload) {

View file

@ -19,5 +19,6 @@
categorySummary=model.categorySummary
categoryMembers=model.categoryMembers
rootDocCount=model.rootDocCount
categoryFilter=category
onRefresh=(action 'onRefresh')}}
</div>