[MGNLUI-8573] App column filtering by mgnl:lastModifiedBy doesn't return any results for partial matches Created: 12/Dec/23 Updated: 12/Dec/23 |
|
| Status: | Open |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Template: | |||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Description |
Steps to reproduce
Expected resultsThe results are visible while writing. Actual resultsThe results are not visible until whole name is written. WorkaroundModify this line in JcrQueryBuilder like:
(!filterKey.startsWith(MGNL_PREFIX) || filterKey.endsWith("By")) &&
and this line like:if ((filterKey.startsWith(MGNL_PREFIX) && !filterKey.endsWith("By")) || !(filterValue instanceof String)) { return JCR_OPERATOR_EQUAL_TO; } Development notesFor performance reasons, EQUAL operator is used since System properties referencing user names might still benefit from LIKE operator though. |