User tests: Successful: Unsuccessful:
Fixes condition in query when searching for items. Before patch, OR
is used as outer glue for search conditions. With patch outer glue is changed to AND
.
Enter some keywords in search form and use filters in these views in backend:
CSP Reports
Modules
Redirect Links
Template Styles
Templates
User Group Debug
User Debug
User Notes
Items are filtered by filters and keywords.
Items are filtered by filters or keywords.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_csp com_modules com_redirect com_templates com_users |
When viewing users/groups click the icon in Permissions column.
Ah, yes, I remember. Thanks for the reminder.
Will test tonight after work, German time. When I tested last night I got an error about missing bind variable when testing template styles without this PR applied. I think this will not be fixed with this PR. Maybe you can check that?
Looking into it.
I have tested this item
CSP Reports: No change, worked before and works with this PR. Reason: The critical "orWhere" was the last possible where clause for filtering.
But the change of this PR makes it safe in case if processing of some new filter will be added after that to the php source.
Modules: This PR fixes the described error.
Hint for other testers: This case has to be tested with the filter by language, because this is the only one which comes after the critical "orWhere".
Redirect links: Same as for CSP Reports above.
Template styles: Same as for CSP Reports above.
Hint for other testers testing with patchtester: If you hit a 500 error, reason might be that the branch of this PR is not up to date with latest merge of PR #26990 4.0-dev.
In this case either wait until @SharkyKZ has updated the branch for this PR here to latest changed in 4.0-dev, or apply the typo correction ":menuiteid" -> ":menuitemid", too, in attition to the changes in this PR here.
With patchtester you can't do that because both PRs modify the same file.
Templates: Can't really test because having only 1 template of each kind admin and site, but code review looks good.
Result should be same as for CSP Reports above, i.e. no change but safer for future extensions.
User Group Debug: This PR fixes the described error.
User Debug: This PR fixes the described error.
User notes: This PR fixes the described error.
I have tested this item
- CSP Reports: No change, worked before and works with this PR. Reason: The critical "orWhere" was the last possible where clause for filtering.
But the change of this PR makes it safe in case if processing of some new filter will be added after that to the php source.
Modules: This PR fixes the described error.
Hint for other testers: This case has to be tested with the filter by language, because this is the only one which comes after the critical "orWhere".
Redirect links: Same as for CSP Reports above.
Template styles: Same as for CSP Reports above.
Hint for other testers: If you hit a 500 error, reason might be that branch of this PR is not up to date with latest merge of PR #26990 4.0-dev.
In this case either wait until @SharkyKZ has updated the branch for this PR here to latest changed in 4.0-dev, or apply the typo correction ":menuiteid" -> ":menuitemid", too, in attition to the changes in this PR here.
With patchtester you can't do that because both PRs modify the same file.
Templates: Can't really test because having only 1 template of each kind admin and site, but code review looks good. Result should be same as for CSP Reports above, i.e. no change but safer for future extensions.
User Group Debug: This PR fixes the described error.
User Debug: This PR fixes the described error.
User notes: This PR fixes the described error.
@SharkyKZ Too late for testing PR #26990 ... was already merged when I was back from work.
Labels |
Added:
?
|
@infograf768 Could you test this PR here? It is related to other stuff we recently had with filtering in backend lists.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-11-24 18:10:36 |
Closed_By | ⇒ | wilsonge |
Thanks!
@SharkyKZ Where do I find "User Debug" and "User Group Debug"?