?
Referenced as Pull Request for: # 7987
avatar gunjanpatel
gunjanpatel
30 Sep 2015

Steps to reproduce the issue

  • Create a category having space in name. For example: "Events and Forms"
  • Make sure you have more than 10 categories, if not try to copy it.
  • Go to article create/edit page, In category selection try to search "event and "

screen shot 2015-09-30 at 05 00 45

  • Now, close the article edit page and go to article listing page. Select any article and click on batch button from toolbar and try to search "event and " like below and notice it is working.

screen shot 2015-09-30 at 05 04 18

Expected result

It should looks like below in article edit page.
screen shot 2015-09-30 at 05 05 36

System information (as much as possible)

I have tested it in FF41.0 Ubuntu. But I believe it's not dependent on browser or OS.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar gunjanpatel gunjanpatel - open - 30 Sep 2015
avatar gunjanpatel
gunjanpatel - comment - 30 Sep 2015

This issue can be fixed by using,

JHtml::_('formbehavior.chosen', 'select', null, array('search_contains' => true));

but not sure we should fix it in general by setting "search_contains" as a general options.


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

avatar javigomez
javigomez - comment - 30 Sep 2015

I was able to reproduce the issue. See the following 1 minute video (with audio): https://www.youtube.com/watch?v=h5N5AD8hAls

Important note. As mentioned in the issue description you need to have more than 10 categories. Otherwise you will not see the Searchbox to search Categories by name.

Seems to be a Javascript issue in Chosen Selector not being able to read spaces.


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

avatar javigomez
javigomez - comment - 30 Sep 2015

Linking possible solution pull request: #7987 #7987


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

avatar gunjanpatel gunjanpatel - change - 30 Sep 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-09-30 11:03:18
Closed_By gunjanpatel
avatar gunjanpatel
gunjanpatel - comment - 30 Sep 2015

Closing this issue now, as PR is available at #7987


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

avatar gunjanpatel gunjanpatel - close - 30 Sep 2015

Add a Comment

Login with GitHub to post a comment