NPM Resource Changed PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar adarshdubey03
adarshdubey03
11 Jul 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

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.

Testing Instructions

  1. Go to content > workflows.
  2. Apply a filter (eg unpublished)
  3. Clear the filter

Actual result BEFORE applying this Pull Request

An error with extension not found appears.

Expected result AFTER applying this Pull Request

No error and clear works correctly.

Link to documentations

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

avatar adarshdubey03 adarshdubey03 - open - 11 Jul 2026
avatar adarshdubey03 adarshdubey03 - change - 11 Jul 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2026
Category Administration com_workflow JavaScript Repository NPM Change
avatar brianteeman
brianteeman - comment - 13 Jul 2026

I am unable to replicate the reported bug

avatar adarshdubey03
adarshdubey03 - comment - 13 Jul 2026

@brianteeman

Recording.2026-07-13.204351.mp4
avatar brianteeman
brianteeman - comment - 13 Jul 2026

@adarshdubey03 thanks I was looking in the wrong place

avatar brianteeman brianteeman - test_item - 13 Jul 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 13 Jul 2026

I have tested this item ✅ successfully on 02779d9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar brianteeman
brianteeman - comment - 13 Jul 2026

I have tested this item ✅ successfully on 02779d9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar LadySolveig LadySolveig - test_item - 13 Jul 2026 - Tested successfully
avatar LadySolveig
LadySolveig - comment - 13 Jul 2026

I have tested this item ✅ successfully on 02779d9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar LadySolveig
LadySolveig - comment - 13 Jul 2026

I have tested this item ✅ successfully on 02779d9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar QuyTon QuyTon - change - 13 Jul 2026
Status Pending Ready to Commit
Labels Added: NPM Resource Changed PR-6.1-dev
avatar QuyTon
QuyTon - comment - 13 Jul 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar QuyTon
QuyTon - comment - 13 Jul 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar HLeithner
HLeithner - comment - 17 Jul 2026

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.

avatar adarshdubey03
adarshdubey03 - comment - 19 Jul 2026

@HLeithner Done :)

avatar QuyTon QuyTon - change - 19 Jul 2026
Status Ready to Commit Pending
avatar QuyTon
QuyTon - comment - 19 Jul 2026

Please retest with the requested change. Thanks.

avatar LadySolveig
LadySolveig - comment - 7 Aug 2026

@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!

avatar LadySolveig
LadySolveig - comment - 7 Aug 2026

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][]']]]);
image

Set the two filters that should be preserved in articles list view and also a few others.
image

✅ Filter Access and Filter Publish are preserved, all other filters have been reset.

avatar LadySolveig LadySolveig - test_item - 7 Aug 2026 - Tested successfully
avatar LadySolveig
LadySolveig - comment - 7 Aug 2026

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.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar LadySolveig
LadySolveig - comment - 7 Aug 2026

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.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar LadySolveig
LadySolveig - comment - 7 Aug 2026

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


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar brianteeman brianteeman - test_item - 26 Aug 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 26 Aug 2026

I have tested this item ✅ successfully on b2eb452


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar brianteeman
brianteeman - comment - 26 Aug 2026

I have tested this item ✅ successfully on b2eb452


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar richard67 richard67 - change - 26 Aug 2026
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 26 Aug 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar richard67
richard67 - comment - 26 Aug 2026

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48079.

avatar richard67
richard67 - comment - 26 Aug 2026

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?

Add a Comment

Login with GitHub to post a comment