Search criteria is enabled. How to have an all results button? please help

Hi community,

I have a live search as per the structure below. How can the View all button take the user to the search results for the searched term?

Before the search criteria, we can achieve the desired result by setting the site url and the s parameter. But considering that the search criteria is active and we should not use the s parameter, I am not sure what the solution is.

{"content":[{"id":"lwvqch","name":"section","parent":0,"children":["oepgyb"],"settings":[]},{"id":"lhnaiz","name":"block","parent":"heyfja","children":["zmayit","dxunyr"],"settings":{"_direction":"row","_justifyContent":"space-between","_alignItems":"center","_columnGap":"10","_position":"relative","_flexWrap:mobile_landscape":"nowrap"},"label":"Search box"},{"id":"zmayit","name":"filter-search","parent":"lhnaiz","children":[],"settings":{"filterQueryId":"aupoye","_padding":{"top":"10","bottom":"10","left":"50"},"_border":{"width":{"bottom":"1px","top":"1px","right":"1px","left":"1px"},"style":"solid","color":{"light":"#9e9e9e","raw":"var(--bricks-color-grey-500)","id":"616a31"},"radius":{"top":"var(--border-radius)","right":"var(--border-radius)","bottom":"var(--border-radius)","left":"var(--border-radius)"}},"icon":{"height":"20","width":"20","svg":{"id":1783,"icon_id":"icon_95c7a8dfu","url":"https://avangtheme.ir/wp-content/uploads/2025/02/close.svg"}},"_typography":{"font-size":"16px"},"filterInputDebounce":"0","filterMinChars":"1","searchCriteriaCustom":true,"searchPostFields":true,"searchPostQuery":[{"id":"ditklb","field":"title"}],"_background":{"color":{"raw":"#ffffff"}},"placeholderTypography":{"color":{"id":"rwhvka","raw":"var(--text-1)","light":"#1f2328"}}},"label":"Search input","themeStyles":[]},{"id":"dxunyr","name":"icon","parent":"lhnaiz","children":[],"settings":{"_position":"absolute","icon":{"fill":{"id":"ligytl","raw":"var(--text-1)","light":"#1f2328"},"library":"themify","icon":"ti-search"},"_left":"15","iconSize":"30"},"label":"Search Icon","themeStyles":[]},{"id":"eporky","name":"block","parent":"heyfja","children":["aupoye"],"settings":{"_direction":"column","_rowGap":"15","_padding":{"right":"15","left":"15","bottom":"15","top":"15"},"_border":{"radius":{"top":"var(--border-radius)","right":"var(--border-radius)","bottom":"var(--border-radius)","left":"var(--border-radius)"},"width":{"top":"1","right":"1","bottom":"1","left":"1"},"style":"solid","color":{"light":"#9e9e9e","raw":"var(--bricks-color-grey-500)","id":"616a31"}},"_background":{"color":{"raw":"#ffffff"}},"_interactions":[{"id":"cfhwnp","trigger":"ajaxStart","ajaxQueryId":"aupoye","action":"hide"},{"id":"ehxbnp","trigger":"ajaxEnd","ajaxQueryId":"aupoye","action":"show"}]},"label":"Search Result"},{"id":"aupoye","name":"block","parent":"eporky","children":["ytgaex","muelrp"],"settings":{"hasLoop":true,"query":{"is_live_search_wrapper_selector":"#brxe-eporky","ajax_loader_selector":"#brxe-mdwced","is_live_search":true,"post_type":["product"],"no_results_template":"2164","posts_per_page":"5","disable_update_post_term_cache":true,"disable_update_post_meta_cache":true,"no_found_rows":true},"_direction":"row","_columnGap":"10","link":{"type":"meta","useDynamicData":"{post_url}"},"tag":"a","_alignItems":"center","_border":{"width":{"bottom":"1"},"style":"solid","color":{"light":"#9e9e9e","raw":"var(--bricks-color-grey-500)","id":"616a31"}},"_padding":{"bottom":"15"}},"label":"Search item","selectors":[{"id":"wtpvvl","selector":":last-child","settings":{"_padding":{"bottom":"0"},"_border":{"style":"none"}}}]},{"id":"ytgaex","name":"icon","parent":"aupoye","children":[],"settings":{"icon":{"fill":{"id":"ligytl","raw":"var(--text-1)","light":"#1f2328"},"svg":{"id":2092,"icon_id":"icon_tgri4qbhs","url":"https://avangtheme.ir/wp-content/uploads/2025/03/search.svg"},"library":"custom_set_hbu7vqm9q"}},"label":"Term icon","themeStyles":[]},{"id":"muelrp","name":"text-basic","parent":"aupoye","children":[],"settings":{"tag":"span","text":"{post_title}"},"label":"Term name"},{"id":"oepgyb","name":"container","parent":"lwvqch","children":["heyfja"],"settings":{"_rowGap":"10"}},{"id":"heyfja","name":"block","parent":"oepgyb","children":["lhnaiz","eporky","rqwmyq"],"settings":{"_rowGap":"10"},"label":"Wrapper"},{"id":"rqwmyq","name":"filter-submit","parent":"heyfja","children":[],"settings":{"text":"View all","style":"primary","filterQueryId":"aupoye","newTab":true},"themeStyles":{}}],"source":"bricksCopiedElements","sourceUrl":"https://try.bricksbuilder.io/t4ccb117","version":"2.3.4"}

Best regards