Feature PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
19 Mar 2024

Pull Request for Issue #43087 .

Summary of Changes

For reasons unobvious to me, we are using the data from the request object in our input object when populating the state of the SearchModel model. This PR changes this to be in line with all other models by simply using the input object.

Testing Instructions

Codereview?

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 19 Mar 2024
avatar Hackwar Hackwar - change - 19 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Mar 2024
Category Front End com_finder
avatar growunder
growunder - comment - 11 Apr 2024

Code reviewed, seams ok


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

avatar LadySolveig LadySolveig - change - 3 Jul 2024
Title
[5.1] Finder: Simplifying the populateState() method of SearchModel
[5.2] Finder: Simplifying the populateState() method of SearchModel
avatar LadySolveig LadySolveig - edited - 3 Jul 2024
avatar Hackwar Hackwar - change - 8 Jul 2024
Labels Added: Feature PR-5.2-dev
avatar HLeithner
HLeithner - comment - 15 Jul 2024

I would expect the reason is that you can simple use POST or GET requests for the search, now only GET is possible anymore?

avatar Fedik
Fedik - comment - 15 Jul 2024

now only GET is possible anymore?

Nope, it the same, $input contain whole data from $_REQUEST, so it will be same result as $input->request.

For only GET would be $input->get->get('foobar'),
For only POST would be $input->post->get('foobar'),

avatar laoneo laoneo - change - 14 Aug 2024
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-08-14 10:11:52
Closed_By laoneo
avatar laoneo laoneo - close - 14 Aug 2024
avatar laoneo laoneo - merge - 14 Aug 2024
avatar laoneo
laoneo - comment - 14 Aug 2024

Thanks!

Add a Comment

Login with GitHub to post a comment