? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
23 Dec 2016

Pull Request for Issue #13291 and #13302 (comment).

While trying to remove the GROUP_CONCAT (that isn't supported by non-MySQL DBs) from the "Content - Search" plugin, I saw it is actually badly broken.
Try to search for an article when there are no valid fields (eg no published, public available fields). It will not show the article.

Summary of Changes

Rewrites the query so it doesn't use an INNER JOIN over the fields table. Also rewrote the conditionals so they are also fine with a NULL value (since we now have a LEFT JOIN).

The GROUP_CONCAT is replaced by a value lookup per item later down.

Testing Instructions

  • Try the search plugin (the classic one, not Smart Search / Finder)
  • Make sure searching for articles text, metadata and fields works and doesn't give duplicate items as result

Known Limitation

Field values coming from list types (eg selects and checkboxes) will not be searchable because we store the value and not the text of that selection.

Documentation Changes Required

None

avatar Bakual Bakual - open - 23 Dec 2016
avatar Bakual Bakual - change - 23 Dec 2016
Status New Pending
avatar Bakual Bakual - edited - 23 Dec 2016
avatar Bakual Bakual - change - 23 Dec 2016
Title
Fixing "Search - Content" plugin and make it work with fields
[com_fields] Fixing "Search - Content" plugin and make it work with fields
avatar joomla-cms-bot joomla-cms-bot - change - 23 Dec 2016
Category Front End Plugins
avatar Bakual Bakual - change - 23 Dec 2016
Title
Fixing "Search - Content" plugin and make it work with fields
[com_fields] Fixing "Search - Content" plugin and make it work with fields
Labels Added: ?
avatar alikon
alikon - comment - 23 Dec 2016

I have tested this item successfully on 468abb4

tested on postgresql


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

avatar alikon alikon - test_item - 23 Dec 2016 - Tested successfully
avatar ralain
ralain - comment - 23 Dec 2016

I have tested this item successfully on 468abb4

On MySQL and PostgreSQL.


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

avatar ralain ralain - test_item - 23 Dec 2016 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 24 Dec 2016
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 24 Dec 2016

RTC


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

avatar jeckodevelopment jeckodevelopment - change - 24 Dec 2016
Milestone Added:
avatar rdeutz rdeutz - reference | 7c54768 - 27 Dec 16
avatar rdeutz rdeutz - merge - 27 Dec 2016
avatar rdeutz rdeutz - close - 27 Dec 2016
avatar rdeutz rdeutz - change - 27 Dec 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-27 21:45:27
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 27 Dec 2016
avatar rdeutz rdeutz - merge - 27 Dec 2016
avatar Bakual Bakual - head_ref_deleted - 27 Dec 2016
avatar anibalsanchez
anibalsanchez - comment - 12 Jan 2017

Hi,

Yesterday, I found that search is not longer working. Please, check #13569


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

Add a Comment

Login with GitHub to post a comment