Default Sorting by custome field, then by distance
This topic contains 11 replies, has 2 voices, and was last updated by Paolo 10 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Default Sorting Options
-
AuthorPosts
-
March 5, 2015 at 1:15 am #32967
I have created a custom field labeled as “priority” with the options of “1,2,3,4,5,6,7,8,9,None”, with “None” being the default value.
I would like searches to be sorted by this priority field first (So a search of a zip would return results 1-9 first), then after this you would see any other closest “None” priority results displayed.
I currently have the “Priority” field as the default sort order, but what I get when doing a search is a listings list that are sorted first by distance, then by priority.
So I get a list like this:
Listing Item A
Distance: 25 Miles
Priority: 2Listing Item B
Distance: 27 Miles
Priority: 3Listing Item C
Distance: 35 Miles
Priority: NoneListing Item D
Distance: 41 Miles
Priority: 1Listing Item E
Distance: 44 Miles
Priority: 4What settings do I need to adjust in order to get this list to look like this:
Listing Item D
Distance: 41 Miles
Priority: 1Listing Item A
Distance: 25 Miles
Priority: 2Listing Item B
Distance: 27 Miles
Priority: 3Listing Item E
Distance: 44 Miles
Priority: 4Listing Item C
Distance: 35 Miles
Priority: NoneI am currently using the latest version of all Geo plugins, and WP.
Thanks.
March 5, 2015 at 7:26 pm #33031A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 5, 2015 at 8:01 pm #33037A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 5, 2015 at 9:41 pm #33065A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 5, 2015 at 11:07 pm #33088A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 6, 2015 at 7:34 pm #33166A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 7, 2015 at 5:40 pm #33241A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 9, 2015 at 10:08 pm #33474A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 9, 2015 at 10:09 pm #33475A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 10, 2015 at 2:39 pm #33533A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 10, 2015 at 7:28 pm #33574A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
March 10, 2015 at 8:12 pm #33583A valid license is required to view this reply.
You may need to login
OR
Buy either a Membership or valid license for this product.
Thanks, Team GeoDirectory!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket