-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACS-4565] add search for categories tree in admin cc #8279
[ACS-4565] add search for categories tree in admin cc #8279
Conversation
@@ -13,11 +13,12 @@ Datasource service for category tree. | |||
|
|||
### Methods | |||
|
|||
- **getSubNodes**(parentNodeId: `string`, skipCount?: `number`, maxItems?: `number`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`TreeResponse<CategoryNode>`](../../../lib/content-services/src/lib/tree/models/tree-response.interface.ts)`>`<br/> | |||
- **getSubNodes**(parentNodeId: `string`, skipCount?: `number`, maxItems?: `number`, name?: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`TreeResponse<CategoryNode>`](../../../lib/content-services/src/lib/tree/models/tree-response.interface.ts)`>`<br/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to display search results as a tree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does not display it as tree in reality. Please check PR for applications, there is screenshot. It is tree with 0 level so in reality it will be always flat list. I did not see sense to use separated component just to render flat list if I can have tree list with 0 level which is still flat list :)
lib/content-services/src/lib/category/services/category-tree-datasource.service.spec.ts
Outdated
Show resolved
Hide resolved
e6290be
to
28ac7be
Compare
lib/content-services/src/lib/category/services/category.service.spec.ts
Outdated
Show resolved
Hide resolved
bf103da
to
53ef4c9
Compare
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
https://alfresco.atlassian.net/browse/ACS-4565
What is the new behaviour?
Added function which allows for categories searching.
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
Alfresco applications PR: https://github.com/Alfresco/alfresco-applications/pull/31