? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
20 Oct 2016

Pull Request for Issue #12489

Steps to reproduce the issue

Create finder component page. Set to allow empty search. Display page mouse over search button. The search button is rendered as disabled (class contains 'disabled')

Expected result

search button should be rendered enabled, that is, the tag should not have class 'disabled'

Actual result

The search button is rendered as disabled (class contains 'disabled')

This was because
The parameter name used in components/com_finder/views/search/tmpl/default_form.php line 78 , allow_empty_search, should be 'allow_empty_query' to match the parameter field defined in administrator/components/com_finder/config.xml line 37.

This PR fixes that

Thanks to @nclifton for this fix

avatar brianteeman brianteeman - open - 20 Oct 2016
avatar brianteeman brianteeman - change - 20 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Oct 2016
Labels Added: ?
avatar zero-24 zero-24 - edited - 20 Oct 2016
avatar joomla-cms-bot joomla-cms-bot - change - 20 Oct 2016
Category Front End Components
avatar brianteeman brianteeman - change - 29 Oct 2016
Labels Added: ?
Removed: ?
avatar brianteeman brianteeman - change - 4 Nov 2016
Easy No Yes
avatar brianteeman brianteeman - edited - 4 Nov 2016
avatar astridx
astridx - comment - 4 Dec 2016

I tested this PR.
You are right, die name of the parameter is wrong and your correction makes it right.

But the display of the button did not change for me. It looks active in all cases. Do we use the right syntax for boostrap 2 here? Shoudn’t it be

<button type="button" class="btn btn-large" disabled>Button</button>
in the case of a button: http://getbootstrap.com/2.3.2/base-css.html#buttons

avatar Sieger66
Sieger66 - comment - 7 Dec 2016

I have tested this item successfully on 3e19c48


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

avatar Sieger66 Sieger66 - test_item - 7 Dec 2016 - Tested successfully
avatar wilsonge
wilsonge - comment - 8 Dec 2016

Simple fix. Merging with one test and code review

avatar wilsonge wilsonge - reference | 7c29ec6 - 8 Dec 16
avatar wilsonge wilsonge - merge - 8 Dec 2016
avatar wilsonge wilsonge - close - 8 Dec 2016
avatar wilsonge wilsonge - change - 8 Dec 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-08 23:25:18
Closed_By wilsonge
avatar wilsonge wilsonge - close - 8 Dec 2016
avatar wilsonge wilsonge - merge - 8 Dec 2016
avatar wilsonge wilsonge - change - 8 Dec 2016
Milestone Added:
avatar joomla-cms-bot joomla-cms-bot - change - 8 Dec 2016
Category Front End Components Front End com_finder Components
avatar brianteeman
brianteeman - comment - 8 Dec 2016

Thanks

avatar brianteeman brianteeman - head_ref_deleted - 8 Dec 2016

Add a Comment

Login with GitHub to post a comment