Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the regex that identifies if the item is search term for autocomp…
…lete All digital items that may or may not have type prefixes(like "asset:") are existing values, the rest are search terms. When we switched to LinkTargets autocomplete in 6d0b00e, we updated the regex to handle non-ticket link types like "asset", "articles", etc. The regex wasn't correct as it treated "foo" in "foo bar" as an existing value, thus if you selected the ticket from dropdown, the input would be like "foo 123" instead of "123".
- Loading branch information