? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
4 Nov 2021

This if statement (which defaults to true) is pointless as the actual param it is checking does not exist so it can only ever be true

Code Review only to confirm that the param doesn't exist

Pull Request for Issue #35692

avatar brianteeman brianteeman - open - 4 Nov 2021
avatar brianteeman brianteeman - change - 4 Nov 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Nov 2021
Category Front End com_finder
avatar rjharishabh rjharishabh - test_item - 5 Nov 2021 - Tested successfully
avatar rjharishabh
rjharishabh - comment - 5 Nov 2021

I have tested this item successfully on 015b9ce

Code Review


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

avatar sakiss
sakiss - comment - 5 Nov 2021

Brian i don't find the approach very neat.
For example in my case i use that param to hide the search form in my results, since i am only using the search module. A param can be useful independently to it's GUI representation.

avatar brianteeman
brianteeman - comment - 5 Nov 2021

The param is never defined anywhere!

avatar sakiss
sakiss - comment - 5 Nov 2021

I think it is much better to define it to the menu item and/or the com_finder's parameters.

It is really useful in case both the search module and the search form are being loaded. In that case you will get double search forms.

avatar brianteeman
brianteeman - comment - 5 Nov 2021

How can it be used today?

avatar sakiss
sakiss - comment - 5 Nov 2021

How can it be used today?

Not sure that i understand the question.
Please try the following:
Visit a site that uses a search mod at the top (as usual) and search for something.
You will now get 2 search forms (1 from the module and 1 from the results).

I can try to create a PR implementing that param.
In my last attempt i was getting a js error when the search form was not loaded and may need some help there.

avatar RickR2H RickR2H - test_item - 15 Dec 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 15 Dec 2021

I have tested this item successfully on 015b9ce


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

avatar RickR2H RickR2H - change - 15 Dec 2021
Status Pending Ready to Commit
avatar RickR2H
RickR2H - comment - 15 Dec 2021

RTC


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

avatar RickR2H
RickR2H - comment - 15 Dec 2021

RTC


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

avatar sakiss
sakiss - comment - 16 Dec 2021

Please do not to merge that.
It is really useful, especially if the search module is used as well.
I am planning to create a PR that allows to hide the search form utilizing that param.

avatar RickR2H
RickR2H - comment - 16 Dec 2021

@brianteeman Is it okay with you to remove the RTC and let @sakiss do a PR with the params implementation?

avatar brianteeman
brianteeman - comment - 16 Dec 2021

its been 7 weeks since they said they were going to create a new pr after failing.

that would have to be for 4.1 as it would be a new feature.

this is fixing a bug in 4.0 and it doesnt prevent the new feature being added at a later date if that ever arrives.

avatar brianteeman
brianteeman - comment - 8 Jan 2022

Please dont forget merging this

avatar brianteeman brianteeman - change - 20 Jan 2022
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 20 Jan 2022

Rebased to 4.1

avatar brianteeman brianteeman - change - 20 Jan 2022
Title
[4.0] finder show_search_form
[4.1] finder show_search_form
avatar brianteeman brianteeman - edited - 20 Jan 2022
avatar bembelimen
bembelimen - comment - 12 Mar 2022

@brianteeman could you please check #37254 ? Thanks

avatar brianteeman
brianteeman - comment - 12 Mar 2022

I have checked it and as I expected it is useless. Probably why the promised pr was not delivered in 3 months

avatar brianteeman brianteeman - change - 12 Mar 2022
Labels Added: ?
Removed: ?
avatar sakiss
sakiss - comment - 12 Mar 2022

@brianteeman where did you see a promise for PR?

avatar brianteeman
brianteeman - comment - 12 Mar 2022

Please do not to merge that. It is really useful, especially if the search module is used as well. I am planning to create a PR that allows to hide the search form utilizing that param.

avatar bembelimen bembelimen - change - 14 Mar 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-03-14 04:36:53
Closed_By bembelimen
avatar bembelimen bembelimen - close - 14 Mar 2022
avatar bembelimen bembelimen - merge - 14 Mar 2022
avatar bembelimen
bembelimen - comment - 14 Mar 2022

Fair enough, thx

avatar brianteeman
brianteeman - comment - 14 Mar 2022

Thanks

avatar sakiss
sakiss - comment - 14 Mar 2022

@brianteeman Well this is far from a promise.

The only reason i did not go on, was because i needed some assertion that this PR was not going to get merged and i will not waste my time for nothing.

Anyway if @bembelimen thinks that this should be fixed through the settings, my offer is still valid, but i may need some help in some parts.

avatar bembelimen
bembelimen - comment - 15 Mar 2022

Feel free to make a PR, if you cover all cases I'm happy.

Add a Comment

Login with GitHub to post a comment