Working branch user/jeffdavis/lp1839684-repeating-qtype has a simple but arguably partial fix: don't prepend the qtype to the query if the query already begins with the qtype.
This prevents duplicate prefixes, but a basic author search still shows as "author:mozart" in the searchbox. I wasn't immediately able to strip the query type from the search string for some reason, and there may be a case for keeping it (but not for duplicating it, of course).
Working branch user/jeffdavis/ lp1839684- repeating- qtype has a simple but arguably partial fix: don't prepend the qtype to the query if the query already begins with the qtype.
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1839684- repeating- qtype
This prevents duplicate prefixes, but a basic author search still shows as "author:mozart" in the searchbox. I wasn't immediately able to strip the query type from the search string for some reason, and there may be a case for keeping it (but not for duplicating it, of course).