? ? Pending

User tests: Successful: Unsuccessful:

avatar tonypartridge
tonypartridge
27 Jul 2017

Pull Request for Issue #17241

This stops the title replacements being replaced with the searched word and instead the actual word which is being replaced to be wrapped.

Summary of Changes

moved from str_ireplace
to preg_replace

Testing Instructions

Use joomla! com_search, search for a result which is is an uppercase with a lowercase letter i.e. Article is the title of the article search for article

Expected result

article and Article to be found but the hightlighted word to be case sensitive.

Actual result

The found match is replaced which the searched word.

avatar joomla-cms-bot joomla-cms-bot - change - 27 Jul 2017
Category Front End com_search
avatar tonypartridge tonypartridge - open - 27 Jul 2017
avatar tonypartridge tonypartridge - change - 27 Jul 2017
Status New Pending
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 27 Jul 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Jul 2017

I have tested this item 🔴 unsuccessfully on eb31e8a

Searching for "Sample" (correct):

bildschirmfoto 2017-07-27 um 15 49 58

Searching for "sample" (not correct):

bildschirmfoto 2017-07-27 um 15 48 44


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17303.
avatar tonypartridge
tonypartridge - comment - 27 Jul 2017

@franz-wohlkoenig are you sure you applied the right patch?? Working on a fresh test here:
screenshot 2017-07-27 14 55 36

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 27 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Jul 2017

I have tested this item successfully on eb31e8a

fetched Data again > works.


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

avatar tonypartridge tonypartridge - change - 27 Jul 2017
Labels Added: ?
avatar tonypartridge
tonypartridge - comment - 27 Jul 2017

Sorry @franz-wohlkoenig can you test again? :-) I've just added utf8/unicode support so we can use Arabic for example:

المستقبل

Many thanks
Tony

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 27 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Jul 2017

I have tested this item successfully on fb7128e


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

avatar brianteeman brianteeman - test_item - 27 Jul 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 27 Jul 2017

I have tested this item successfully on fb7128e


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

avatar joomla-cms-bot joomla-cms-bot - edited - 27 Jul 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Jul 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Jul 2017

RTC after two successful tests.

avatar mbabker mbabker - change - 27 Jul 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-07-27 22:37:20
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 27 Jul 2017
avatar mbabker mbabker - merge - 27 Jul 2017
avatar nicksavov nicksavov - test_item - 28 Jul 2017 - Tested successfully
avatar nicksavov
nicksavov - comment - 28 Jul 2017

I have tested this item successfully on fb7128e

One more for good measure 😃


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

avatar tonypartridge
tonypartridge - comment - 28 Jul 2017

Awesome! 😎

On 28 Jul 2017, 21:07 +0100, Nick Savov notifications@github.com, wrote:

I have tested this item successfully on fb7128e

One more for good measure 😃
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17303.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Add a Comment

Login with GitHub to post a comment