PDA

View Full Version : keyword search by url query



Horizon
January 5, 2024, 10:51 AM
If search method is set to get, can I do a keyword search directly with a URL query? What is the syntax for a keyword search by URL?

Rudi
January 5, 2024, 12:37 PM
You can activate it via Listings > Listing Types > your type > Edit > Search Settings > Submit method > Get

Horizon
January 5, 2024, 09:38 PM
With that enabled the normal search box uses a get request so I can see the syntax, but if I got to

search.html#keyword_tab to do a keyword search it does not seem to produce a result with a get result still, so I can't see the query string for a keyword search.

I'm wondering what the query would be, such as

search-results.html?keyword=thisword to do a keyword search for thisword via a get URL.

Rudi
January 6, 2024, 05:20 PM
Keyword search doesn't support GET method, some modifications are required