{"id":17073817,"date":"2023-09-23T14:43:51","date_gmt":"2023-09-23T14:43:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/clear-button-returns-posts-from-other-categories\/"},"modified":"2023-09-23T14:43:51","modified_gmt":"2023-09-23T14:43:51","slug":"clear-button-returns-posts-from-other-categories","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/clear-button-returns-posts-from-other-categories\/","title":{"rendered":"Clear button returns posts from other categories"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello :<br \/>I have different type of posts on my WordPress website and i have grouped them in many categories. I have created a page and i am trying to use the filter functionality for a limited number of categories.<br \/>When i select grouped or default filter, if i search something from the search box and afterwards  clear the results, the posts from the specific categories are retrieved correctly, but if i try to use the dropdown filter, or the custom_filter options, after i click the &#8220;X&#8221; button, it retrieves all of the posts from my site.<br \/>I really want to use the dropdown option because is the best option for me.<br \/>Do you have a solution for me?<br \/>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-17073817","topic","type-topic","status-publish","hentry","topic-tag-clear-button"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17073817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17073817\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17073817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}