Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
Description
Steps to reproduce
- To enable filtering by tags:
- Go to http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:resources:browser;/pages-content-tags-integration/decorations/pages-app/apps/pages-app.subApps.browser.yaml::
- Click edit
- Add to the mgnl:tags column config the filter component:
name: mgnl:tags $type: columnComponent type: java.util.Collection filterComponent: $type: comboBoxField datasource: $type: jcrDatasource workspace: tags describeByProperty: jcrName allowedNodeTypes: - mgnl:tag
- Click Save.
- Go to http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:pages-app:browser;/travel::
- Click Modify tags
- Add a tag, e.g. city
- Click Save changes
- Select a tag in the comboBox in the header of the tags column.
Expected results
The /travel demo page is visible
Actual results
No content found.
Workaround
Modify this line in JcrQueryBuilder like:
Node node = (Node) filterValue; return "mgnl:tags".equals(filterKey) ? node.getName() : node.getIdentifier();
Development notes
The current implementation assumes that every JCR Node is referenced by its identifier. Tags, however, are the exceptions and are referenced by name.
Checklists
Acceptance criteria
Attachments
Issue Links
- is cloned by
-
MGNLUI-8573 App column filtering by mgnl:lastModifiedBy doesn't return any results for partial matches
-
- Open
-
1.
|
Implementation |
|
To Do | Unassigned |
2.
|
Review |
|
To Do | Unassigned |
3.
|
Pre-Integration QA |
|
To Do | Unassigned |
4.
|
QA |
|
To Do | Unassigned |