To order lists in Joomla search

georgie

Member
Hello

Some of my lists are used by Joomla search, please is it possible to choose the order of results by lists?

THX
 
Nope, unfortunately there's no way to order them. We just do this query ...

Code:
$query->select('id')->from('#__{package}_lists')->where('published = 1');

... then loop through, and for any table that has elements included in global search, we do the search and add the results in that order.

Which means they'll be ordered in 'id' sequence.

-- hugh
 
OK I understand, please just note my order seems now to be permanent, if it could gives an idea.

But OK for me (I have only 3 lists concerned, from different DBs, each lists can have duplicates with other lists, and the "last list" is bigger and less data quality (a warehouse), so the order is important in these case).

OK thanks
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top