When using complex recipe search requireInstructions causes totalResults to reflect the incorrect amount of available recipes for the query. For example if you request recipes with beef, pickles, cheese with requireInstructions = false the totalResults = 20. Then the same query but with requireInstructions = true, but in reality only 13 of those recipes have instructions; however totalResults will still be 20. This breaks all ability to create a pagination system while trying to search for recipes that have instructions.
Any input would be appreciated.
Thank you.
Join in the discussion - add comment below:
Same issue here… the totalResults should follow actual results