Hi Haidy,
I was trying to use the pw_query function and noticed that the fields parameter isn't working currently. No Matter what I enter into it, it returns all.
I see around lines 933 and lines 1039 we're running pw_get_posts() although if I run the same function individually (in a separate file) it's returning the correct results.
Additionally in the prepare_fields() function, I commented out this part
Hi Haidy, I was trying to use the
pw_query
function and noticed that thefields
parameter isn't working currently. No Matter what I enter into it, it returnsall
.I see around lines
933
and lines1039
we're runningpw_get_posts()
although if I run the same function individually (in a separate file) it's returning the correct results.Additionally in the
prepare_fields()
function, I commented out this partSince field sanitization is already handled inside
pw_get_post()
- although this didn't solve the issue.Any ideas?