Skip Navigation

[Resolved] View randomly ordered shows random in filter/ sort by

This support ticket is created 3 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by robD-8 3 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#2257477
Schermafbeelding 2022-01-03 151122.jpg
Schermafbeelding 2022-01-03 151021.jpg
Schermafbeelding 2022-01-03 150927.jpg

Tell us what you are trying to do? I have a view which - when set random order - also shows this within the sort by pulldowns

[wpv-filter-start]
<div class="form-group">
<div class="catalog-filter">[wpv-control-post-taxonomy taxonomy="product_cat" type="select" default_label="Select category" url_param="wpv-product_cat"]</div>
<div class="catalog-filter">  [wpv-control-post-taxonomy taxonomy="artist" type="select" default_label="Select artist" url_param="wpv-artist"]</div>
<div class="catalog-filter">  [wpv-control-postmeta field="views_woo_price" type="textfield" placeholder="max. price" url_param="wpv-views_woo_price"]</div>
<div class="catalog-filter-butt">[wpv-filter-submit name="filter" output="bootstrap" class="button-search"]  [wpv-filter-reset reset_label="reset" output="bootstrap" class="button-reset"]</div>
<div class="catalog-sort">  sort by: [wpv-sort-orderby type="select" options="price,field-wpcf-year" label_for_price="Price" label_for_field-wpcf-year="Year" orderby_ascending_for="price,field-wpcf-year"]  [wpv-sort-order type="select" options="asc,desc" label_for_asc="Asc." label_for_desc="Desc." label_asc_for_price="Asc." label_desc_for_price="Desc." label_asc_for_field-wpcf-year="Asc." label_desc_for_field-wpcf-year="Desc."]</div>
</div>
[wpv-filter-end]

Is there any documentation that you are following? see attached images

Is there a similar example that we can see?

What is the link to your site? hidden link

#2257719

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Rob,

Thank you for getting in touch.

I'm assuming here that you're referring to the default sort ordering being shown as an option initially.

This is by design to show how the items are currently sorted. Once the user select their own custom sorting then this will no longer appear.

Thanks,
Shane

#2258083

My issue is resolved now. Thank you!