?
avatar boomsya
boomsya
20 Nov 2017

Steps to reproduce the issue

  1. goto modules list in admin panel
  2. look at first module name (example "News")
  3. type " News" - with space before (or after) module name in filter
  4. click search

Expected result

  1. in previous versions filter truncate spaces before or after and search modules

Actual result

  1. no modules founded

System information (as much as possible)

Joomla 3.8.1

avatar boomsya boomsya - open - 20 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Nov 2017
avatar brianteeman
brianteeman - comment - 20 Nov 2017

I have tested on Joomla 3.6.5 and I cannot confirm that this worked before
If the module was called "News"
then a search for either " News" or "News " did not produce any results

avatar boomsya
boomsya - comment - 20 Nov 2017

on Joomla 1.5 works :) fine
90% situation is when module name copy-paste from frontend and filter in admin panel. But browser adding spaces before and after of copied text and i must clear spaces manually everytime

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
Category com_modules com_search
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Status Discussion Information Required
avatar boomsya
boomsya - comment - 29 Nov 2017

ha! but on page /administrator/index.php?option=com_installer&view=manage
this works fine with spaces
i was typed " auth" and i have 2 lines:
"Authentication - Facebook"
"Google Authenticator"

//joomla 3.6.5

avatar mbabker
mbabker - comment - 29 Nov 2017

The two can't be compared. The Extension Manager does filtering at the PHP level after the query has been executed, the Module Manager is including the search term as a WHERE clause on the database query.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Dec 2017

If this Issue get no Response, it will be closed at 26th January 2018.

avatar boomsya
boomsya - comment - 17 Jan 2018

can you apply trim(...) function to the searching term?

avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 26 Jan 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Jan 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-01-26 08:16:09
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 26 Jan 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Jan 2018

This has been closed as stated above – it can always be reopened.

Add a Comment

Login with GitHub to post a comment