?
avatar hikashop-nicolas
hikashop-nicolas
4 Oct 2017

Steps to reproduce the issue

Create a new article with the title "SHIM/SET"
Search for it on your frontend via the Joomla search.

Expected result

The result page should display a search result for it with a link to the article.

Actual result

The result page has a search result but without any link.

System information (as much as possible)

Joomla 3.8.0
PHP 7.1

Additional comments

Someone actually reported us that issue:
https://www.hikashop.com/forum/filters-search/892216-issue-with-joomla-search-display-when-searching-by-product-code-with-slashes.html
I've proposed a code modification in Joomla there which fixes the issue for the result link coming from HikaShop, but it doesn't fix it for the result link from the Joomla article. I'm not sure what should be done for Joomla's article link but I suppose the information there should already provide a good starting point for someone familiar with Joomla's search system.

avatar hikashop-nicolas hikashop-nicolas - open - 4 Oct 2017
avatar joomla-cms-bot joomla-cms-bot - change - 4 Oct 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Oct 2017
avatar brianteeman
brianteeman - comment - 4 Oct 2017

Note that you have to search for the entire string including the / or it works fine

If you search for the entire string then the title does not display (as reported) and see screenshot
screenshotr10-32-01

If you enable max error reporting you should get the following error
Warning: preg_replace(): Unknown modifier 't' in C:\Apache24\htdocs\cms\components\com_search\views\search\view.html.php on line 268

avatar hikashop-nicolas
hikashop-nicolas - comment - 4 Oct 2017

Yes, thanks for the additional information Brian.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Oct 2017
Category com_search
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Oct 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Oct 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-10-04 12:15:40
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 4 Oct 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 4 Oct 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 4 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Oct 2017

closed as having Pull Request #18221


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

Add a Comment

Login with GitHub to post a comment