WPSOLR Log query =>
Url: “/wp-admin/edit.php?post_type=shop_coupon&all_posts=1”
Index: “freshuk_index1”
Nb results shown: 100
Total nb results: 10000
Speed: 437 ms
Query: {
“from”: 0,
“size”: 100,
“sort”: [
{
“total_sales_f”: {
“order”: “desc”
}
}
],
“_source”: [
“id”,
“PID”,
“type”,
“meta_type_s”,
“title”,
“numcomments”,
“comments”,
“displaydate”,
“displaymodified”,
“*categories_str”,
“author”,
“*post_thumbnail_href_str”,
“*post_href_str”,
“snippet_s”
],
Last seen: 2021-09-29 20:27:41 Asia/Jerusalem
Total events: 1
thats the query.
why does it sort by sales? thats the sort i want on the front end. maybe because of that?
it returns 0 results
You must be logged in to reply to this topic.