Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Advanced search results when filtered are not displayed alphabetically

8 years 10 months ago
  • Ivo's Avatar
    Topic Author
  • Ivo
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

ISSUE SUMMARY:

On our intranet page I would like to display the users by department, when I use the advanced search and I filter on department (custom field) the results are not displayed alphabetically....what can I do?


STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

8 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Ivo,

I mark this issue as a bug.

thank you

8 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Ivo,

To fix this open this file components/com_community/views/search/view.html.php, find this code :

if (JString::strlen($keyList) > 0) {
replace to :
if (strlen($keyList) > 0) {

and find this code :
$data->search = CAdvanceSearch::getResult($filter, $joinOperator, $avatarOnly,'',$profileType);
replace to :
$data->search = CAdvanceSearch::getResult($filter, $joinOperator, $avatarOnly, 'alphabetical', $profileType);

thank you!

8 years 10 months ago
  • Ivo's Avatar
    Topic Author
  • Ivo
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

Thanks! Works perfect!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW