sort order doesn’t change w/ “random”
-
I think I am *almost* where I want to be on this page. My last thing is that when someone searches for one of our members, the list is sorted randomly (so we don’t give any preferential treatment to any member over another). Here is the shortcode I am using on this page:
[connections enable_pagination=false order_by='id|RANDOM' show_image=false image=none image_fallback=none image_single_fallback=none image_single=none enable_search=false enable_category_select=false str_select_all=''? enable_map=TRUE?enable_category_by_root_parent=FALSE?show_addresses=TRUE card_width=370 card_height=180 str_seperator=''? str_image='' str_contact='' str_home_addr='' str_work_addr='' str_school_addr='' str_other_addr='' str_home_phone='' str_home_fax='' str_cell_phone='' str_work_phone='' str_work_fax='' str_personal_email='' str_work_email='']
It does change the order if I leave out the
order_by='id|RANDOM'
, but I can’t tell if it’s really random or if it’s using some other key. Specifically, I would have expected the order to be different every time I refresh the page. But I am getting the same order every time.Is there a way I can test to see if it’s actually random and changes for each visit?
The page I need help with: [log in to see the link]
- The topic ‘sort order doesn’t change w/ “random”’ is closed to new replies.