Joomla SmartSearch plugin - Bug - result duplicate track description (v6.4.3)

Gilles (vcmb)
Gilles (vcmb)
  • Gilles (vcmb)
  • 21 hours ago

Hi Maverick,

Bug Smart Search – duplicate description

In plg_finder_tracks, both summary and body are filled with a.description, which causes the track description to be displayed twice in Smart Search results.

Minimal fix (no style change):

/plugins/finder/tracks/src/Extension/Tracks.php
replace line 361
->select( 'a.id, a.title, a.alias, a.description AS summary, a.description AS body' )
with
 
->select('a.id, a.title, a.alias, a.description AS summary, \'\' AS body')

After reindexing Smart Search, the duplication is gone.

Fix tested : Gpstools v6.4.3 and Joomla 5.4.1
I can't test on your demo site, as no Joomla "Smart search" icon found.

(no need for 6.4.4, but please check 7.0.x)

Best regards, 
Gilles

Attachments

Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai