I am trying to: Sort the page by various fields
Link to a page where the issue can be seen:
hidden link
wordpress login (user): toolsetuser
pass: (I had to remove this as I realized it was publishing this - How can I send the pass to you?)
I expected to see:
Using the sort dropdowns - Sort by Municipality (a custom field w/ strings in it) is not working properly.
Sort by Address for some reason is working properly.
Sort by Property Size is working properly.
Sort by MinDiv is not working.
Side question:
To edit these sort fields - Can I just edit the shortcodes that are generated in the page? (Will that update the database / or whatever backend logic is happening) or do I have to recreate the entire sort section by hand, each time I make a sort change? (Just asking as I have 25ish sort fields for 2 different post types, it could take hours to recreate it each time i have a sort change).
Appreciate any help / thoughts here...
Here is the code that generates the sort dropdown currently:
[wpv-sort-orderby type="select" options="post_date,post_title,field-Municipality,field-Major_Use,field-Class,field-subuse,field-Class,field-Property_Size,field-Min_Divisble,field-Max_Contiguous,field-Avail_SF,field-Space_Desc,field-Floor_Number,field-Sublease,field-Lease_Price,field-Lease_Type,field-Sale_Price,field-Owner,field-Listing_No" label_for_post_date="Revised Date" label_for_post_title="Address" label_for_field-Municipality="Municipality" label_for_field-Major_Use="Major Use" label_for_field-subuse="Sub Use" label_for_field-Class="Class" label_for_field-Property_Size="Property Size" label_for_field-Min_Divisble="Min Divisible" label_for_field-Max_Contiguous="Max_Contiguous" label_for_field-Avail_SF="Avail SF" label_for_field-Space_Desc="Space Desc" label_for_field-Floor_Number="Floor Number" label_for_field-Sublease="Sublease" label_for_field-Lease_Price="Lease Price" label_for_field-Lease_Type="Lease Type" label_for_field-Sale_Price="Sale_Price" label_for_field-Owner="Owner" label_for_field-Listing_No="Listing No" orderby_as_numeric_for="field-Property_Size" orderby_ascending_for="post_title,field-Municipality,field-Major_Use,field-Class,field-Listing_No" orderby_descending_for="post_date,field-Property_Size"][wpv-sort-order type="select" options="desc,asc" label_for_asc="Ascending" label_for_desc="Descending" label_asc_for_post_date="Older first" label_desc_for_post_date="Newer first" label_asc_for_post_title="A to Z" label_desc_for_post_title="Z to A" label_asc_for_field-Municipality="Ascending" label_desc_for_field-Municipality="Descending" label_asc_for_field-Major_Use="Ascending" label_desc_for_field-Major_Use="Descending" label_asc_for_field-Class="Ascending" label_desc_for_field-Class="Descending" label_asc_for_field-Property_Size="Ascending" label_desc_for_field-Property_Size="Descending" label_asc_for_field-Listing_No="Ascending" label_desc_for_field-Listing_No="Descending"][wpv-filter-submit name="Sort" class="green-button"]
If you need, your user is a wordpress admin so feel free to edit that view if needed,
Thank you all for any help,
T