?
avatar volandku
volandku
25 Nov 2017

Steps to reproduce the issue

Install russian (or may be any other language) as default and try to find plugin by its name
Also cant find in russian if upper\lower case doesnt exact

Expected result

find ok

Actual result

cant find

System information (as much as possible)

3.8.2
_039
_038
_036

Additional comments

avatar volandku volandku - open - 25 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 25 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Nov 2017
Category com_search
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Nov 2017
Status New Confirmed
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Nov 2017

Issue confirmed. But isn't that expected Behaviour?


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Nov 2017
Category com_search Administration Language & Strings
avatar infograf768
infograf768 - comment - 26 Nov 2017
  1. Search by element is not implemented in the plugin manager

  2. Using or not Upper case does work fine for latin Names.

  3. Upper-lower search does not indeed work for Cyrillic (or Greek). I confirm that issue.

avatar infograf768
infograf768 - comment - 26 Nov 2017

Tested that using upper/lower case in Greek/Cyrillic does work when searching articles

avatar coolcat-creations
coolcat-creations - comment - 28 Nov 2017

I stumbled over this to and it's expected behavior but it should be searchable by the english name for better usability...

avatar infograf768
infograf768 - comment - 29 Nov 2017

The only English wording in the extensions db is the element (emailcloak, loadmodule, pagebreak for example). We could do that one and treat it as we do for IDs but they are not obvious to remember.

I am not sure that the upper/lower issue in Manage as well as plugins Manager is to be expected. I rather think it is an oversight.
We are there only dealing with translated strings and not any entry in a table, but nevertheless we should be able to retrieve all names and then do a search independent from the case.

avatar franz-wohlkoenig franz-wohlkoenig - change - 29 Nov 2017
Status Confirmed Discussion
avatar coolcat-creations
coolcat-creations - comment - 29 Nov 2017

If i talk to a german user and i use only the english backend it's hard to remember all the translations from the plugins. So it would be just easier to say "Search for the pagebreak plugin" instead of remembering all the translations that even might change. Would be great if someone could implement this to search for the element :)

avatar mbabker
mbabker - comment - 29 Nov 2017

To do that would require making a schema change to the extensions table (so affects all extension types and managers) and adding a hardcoded English label into the database. The Plugin Manager doesn't do search filtering using the database query, it filters the database query results manually using the active language.

In the Extension Manager this same issue exists. The name column in the extensions table can be used as a search filter, and this generally is the extension's "code" name (i.e. com_content or plg_search_content) as the value is pushed through JText. So it would be a major B/C break to try and turn that column into a hardcoded English value, plus then you strip the ability for extensions to allow their names to be translated.

For technical reasons I don't know if this is something that should be fixed to be perfectly honest.

avatar coolcat-creations
coolcat-creations - comment - 29 Nov 2017

If it's too much effort definetly not, but if its possible to search by element like @infograf768 said it would be great. Thanks for the further explaination @mbabker

avatar infograf768
infograf768 - comment - 30 Nov 2017

What I can do is adding a filter by element
screen shot 2017-11-30 at 08 53 52

Would that be OK for you folks?

avatar infograf768
infograf768 - comment - 2 Dec 2017

Will make PR as using the same system as id does not work here.

avatar infograf768
infograf768 - comment - 2 Dec 2017

Please test #18955

avatar infograf768 infograf768 - change - 2 Dec 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-12-02 09:18:46
Closed_By infograf768
avatar infograf768 infograf768 - close - 2 Dec 2017

Add a Comment

Login with GitHub to post a comment