User tests: Successful: Unsuccessful:
Pull Request resolves # .
This pr fixes a workflow issue where clicking the SearchTools clear button clears the required workflow context (extension) along with the other filters. As a result, the request is submitted with an empty extension value, causing the workflows page to fail with an extension not set exception.
An error with extension not found appears.
No error and clear works correctly.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_workflow JavaScript Repository NPM Change |
@adarshdubey03 thanks I was looking in the wrong place
I have tested this item ✅ successfully on 02779d9
I have tested this item ✅ successfully on 02779d9
I have tested this item ✅ successfully on 02779d9
I have tested this item ✅ successfully on 02779d9
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
NPM Resource Changed
PR-6.1-dev
|
||
RTC
RTC
Hi,
thanks for your PR.
I have one suggestion, it would be better to have this a bit more flexible, instead of a true/false parameter, add an array of fieldnames which should not be reset on clear.
@HLeithner Done :)
| Status | Ready to Commit | ⇒ | Pending |
Please retest with the requested change. Thanks.
@adarshdubey03 an update to your testing instructions after your last changes would be nice that would reflect at least two different test cases. Thank you!
Test Case 2:
Change line 84 in administrator/components/com_content/tmpl/articles/default.php to
echo LayoutHelper::render('joomla.searchtools.default', ['view' => $this, 'options' => ['selectorFieldName' => 'featured', 'fieldsToPreserveOnClear' => ['filter[published]', 'filter[access][]']]]);
Set the two filters that should be preserved in articles list view and also a few others.

✅ Filter Access and Filter Publish are preserved, all other filters have been reset.
I have tested this item ✅ successfully on b2eb452
I think this should be documented. I’m not sure whether it would be sufficient in the migration notes, but I haven’t found a suitable section in the manual at short notice either.
I have tested this item ✅ successfully on b2eb452
I think this should be documented. I’m not sure whether it would be sufficient in the migration notes, but I haven’t found a suitable section in the manual at short notice either.
I have tested this item ✅ successfully on b2eb452
I think this should be documented. I’m not sure whether it would be sufficient in the migration notes, but I haven’t found a suitable section in the manual at short notice either. Any idea @HLeithner
I have tested this item ✅ successfully on b2eb452
I have tested this item ✅ successfully on b2eb452
| Status | Pending | ⇒ | Ready to Commit |
RTC
RTC
Setting RTC (ready to commit) as the PR has 2 successful human tests and seems ok to me by review.
However, I'm not sure if 6.1-dev is the right target branch.
@HLeithner @tecpromotion What do you think?
I am unable to replicate the reported bug