Parameter q be modifiable for queries

Created on 9 May 2016, over 8 years ago
Updated 3 July 2023, over 1 year ago

An option to change the query parameter q to another value would allow the custom callback functionality of this module be more robust.

Proposed solution

1. Create a new variable call query_parameter (or whatever) to store the value of custom query parameter name.
2. Add a new text field under the radio select option for custom callback on the edit search autocomplete form to allow user to enter name. If blank, then q will be used.
3. Pass custom query parameter to the javascript of Search Autocomplete via settings array. (Pass q if textfield from step 2 (above) is blank.
4. Create an ajax request using javascript query_parameter instead of only q. (had a problem with cross-domain and google. https://www.drupal.org/node/2720931 β†’ )

This along with https://www.drupal.org/node/2721721 β†’ would make this module very robust.

✨ Feature request
Status

Closed: outdated

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States monstrfolk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024