Language Change PBF ? Pending

User tests: Successful: Unsuccessful:

avatar sakiss
sakiss
22 Mar 2022

Pull Request for Issue #35692.

Replacement for #35967 and #37254

Summary of Changes

Parameter for showing the search form or not

Testing Instructions

A new setting named "Show Search Form" is added both in the Smart Search config and in it's search menu item.

By utilizing that parameter the smart search page can be used exclusively as a results page, without showing a search form. This is useful in case you have smart search modules that carry out the search.

Actual result BEFORE applying this Pull Request

Parameter not given

Expected result AFTER applying this Pull Request

Parameter is there

Documentation Changes Required

DKN

Sidenotes: The finder's script file is not loaded when the search form is not there. This was done for 2 reasons:

  1. A javascript error was thrown "Awesomplete does not exist". This is related with the order the scripts are loaded.
  2. This script has functionality exclusively for the search form. Otherwise it just adds to the page load.
avatar sakiss sakiss - open - 22 Mar 2022
avatar sakiss sakiss - change - 22 Mar 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Mar 2022
Category Administration com_finder Language & Strings Front End Modules
avatar sakiss sakiss - change - 22 Mar 2022
The description was changed
avatar sakiss sakiss - edited - 22 Mar 2022
avatar sakiss sakiss - change - 22 Mar 2022
Title
Show search form
[4.1] Show search form param in Smart Search
avatar sakiss sakiss - edited - 22 Mar 2022
5824414 22 Mar 2022 avatar sakiss CS
avatar sakiss sakiss - change - 22 Mar 2022
Labels Added: Language Change ?
avatar brianteeman
brianteeman - comment - 22 Mar 2022

I have tested this item successfully on e671697


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

avatar brianteeman brianteeman - test_item - 22 Mar 2022 - Tested successfully
avatar laoneo
laoneo - comment - 28 Mar 2022

Can you rebase this pr to the 4.2-dev branch as it is a new feature? Thanks.

avatar sakiss
sakiss - comment - 28 Mar 2022

Can you rebase this pr to the 4.2-dev branch as it is a new feature? Thanks.

It's not a new feature. Check the description.

avatar laoneo
laoneo - comment - 28 Mar 2022

What is it then, when it is not a feature?

avatar Quiviro
Quiviro - comment - 1 Apr 2022

I have tested this item successfully on 1aac93e

I'm not sure what's the purpose of hiding the search form in a search page, but the patch works and gives you the option


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

avatar Quiviro Quiviro - test_item - 1 Apr 2022 - Tested successfully
avatar sakiss
sakiss - comment - 11 Apr 2022

@chmst and @bembelimen could you plz check if this is RTC? Would be great to have that fixed in the upcoming release.

avatar Quy
Quy - comment - 12 Apr 2022

Notice: Array to string conversion in \modules\mod_finder\src\Helper\FinderHelper.php on line 51

In Smart Search module, show Advanced Search.
Hide Search Form in menu item.

In the frontend, enter a search term, select a filter and perform search.

37348

avatar sakiss
sakiss - comment - 13 Apr 2022

@Quy plz test

avatar sakiss
sakiss - comment - 16 May 2022

I suppose there is no any interest for that getting merged although @bembelimen urged me to go for it.

avatar laoneo
laoneo - comment - 16 May 2022

Pretty sure there is interest, but we need testers.

avatar sakiss
sakiss - comment - 16 May 2022

@laoneo afaik it needs 2 positive tests to get merged. Not?
Also it is really demotivating to ask for feedback from the RL and get radio silence for months.
The logical thought/outcome is that he does not care for your contribution and you waste your time here.
The same happened to my PRs again and again and i am really reluctant to invest any time here.

avatar laoneo
laoneo - comment - 16 May 2022

Yes it needs two tests. I'm with you that this is frustrating, but the RL has a lot of to do beside merging so he depends on testers.

avatar sakiss
sakiss - comment - 16 May 2022

It happens that i was involved with other projects in the past. Always my top priority was to keep the developers happy and motivated. When it comes to free open source where no any compensation involved i think this is imperative. Nobody is going to invest his time and knowledge for free, if he does not feel at least respected.

avatar laoneo
laoneo - comment - 16 May 2022

And another thing is that you really should rebase the pr to 4.2. Pretty sure then this will attract testers as 4.1 is patches only.

avatar sakiss
sakiss - comment - 16 May 2022

@laoneo how many testers should i attract, since i already got the 2 positive tests?

Also this param is used in the Smart Search's FE layout since J3.x (see: #35692) but was missing BE implementation. So not sure if can be considered a new feature. To me seems more like a buggy implementation.

avatar bembelimen
bembelimen - comment - 18 May 2022

I really appreciate your work here and yes we need the two tests to get it merged, but as Allon said and I agree: it should be rebased to 4.2.

avatar sakiss sakiss - change - 19 May 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-05-19 10:57:01
Closed_By sakiss
Labels Added: PBF
avatar sakiss sakiss - close - 19 May 2022

Add a Comment

Login with GitHub to post a comment