[Plugin: Relevanssi – A Better Search] Behavioral Change 2.7.3 -> 2.7.4
-
Hey Mikko,
Since the earliest versions of Relevanssi, I’ve used a custom query to manually “set” the number of search results returned, i.e.
$queryString = "post_type=post" . "&s=" . get_query_var('s') . "&posts_per_page=" . $postsPerPage . "&paged=" . get_query_var('paged'); $my_query = new WP_Query($queryString);
This always worked, until 2.7.4. Suddenly, regardless of the value of $postsPerPage, it always returns a number equal to the posts-per-page count set in the WP options. Any idea what would’ve caused this, and how I can get back to “manually” setting a result count?
Thanks!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘[Plugin: Relevanssi – A Better Search] Behavioral Change 2.7.3 -> 2.7.4’ is closed to new replies.