Skip to content

Commit

Permalink
Add PATH as a workaround for PNAME and QNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKinas committed Nov 6, 2023
1 parent dab9639 commit c4bc8c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions projects/aca-content/assets/app.extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@
},
{ "query": "-TYPE:'fm:topic' AND -TYPE:'fm:post'" },
{ "query": "-TYPE:'lnk:link'" },
{ "query": "-PATH:'//cm:wiki/'" }
{ "query": "-PATH:'//cm:wiki/*'" }
],
"facetFields": {
"expanded": true,
Expand Down Expand Up @@ -1577,7 +1577,7 @@
},
{ "query": "-TYPE:'fm:topic' AND -TYPE:'fm:post'" },
{ "query": "-TYPE:'lnk:link'" },
{ "query": "-PATH:'//cm:wiki/'" }
{ "query": "-PATH:'//cm:wiki/*'" }
],
"facetFields": {
"expanded": true,
Expand Down Expand Up @@ -1733,7 +1733,7 @@
},
{ "query": "-TYPE:'fm:topic' AND -TYPE:'fm:post'" },
{ "query": "-TYPE:'lnk:link'" },
{ "query": "-PATH:'//cm:wiki/'" }
{ "query": "-PATH:'//cm:wiki/*'" }
],
"facetFields": {
"expanded": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ export class PreviewComponent extends PageComponent implements OnInit, OnDestroy

recentFileFilters = [
'TYPE:"content"',
// TODO '*' for now cause exception to be thrown, Team6 is working on it
'-PATH:"//cm:wiki/"',
'-PATH:"//cm:wiki/*"',
'-TYPE:"app:filelink"',
'-TYPE:"fm:post"',
'-TYPE:"cm:thumbnail"',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ export class AcaViewerComponent implements OnInit, OnDestroy {
navigationSources = ['favorites', 'libraries', 'personal-files', 'recent-files', 'shared'];
recentFileFilters = [
'TYPE:"content"',
// TODO '*' for now cause exception to be thrown, Team6 is working on it (same issue in app.extensions)
'-PATH:"//cm:wiki/"',
'-PATH:"//cm:wiki/*"',
'-TYPE:"app:filelink"',
'-TYPE:"fm:post"',
'-TYPE:"cm:thumbnail"',
Expand Down

0 comments on commit c4bc8c8

Please sign in to comment.