[GH-ISSUE #943] Clicking on a label that contains spaces on the search window does not surround it with quotation marks #6315

Closed
opened 2026-04-20 16:53:59 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @bernardosulzbach on GitHub (Jun 14, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/943

Description

When clicking on a label when searching, it is added to the search box without quotation marks around it, even when it needs them.

  1. Let there be a label called With Spaces and a few issues with it.
  2. Search for *"With and click on With Spaces at the bottom.

Result: *With Spaces gets added to the search box instead of *"With Spaces".

There may be more complexity to the escaping than just spaces. I don't know how quotation marks in labels work.

Vikunja Version

v0.24.6

Browser and version

Google Chrome Version 137.0.7151.68 (Official Build) (64-bit)

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Image

Image

Originally created by @bernardosulzbach on GitHub (Jun 14, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/943 ### Description When clicking on a label when searching, it is added to the search box without quotation marks around it, even when it needs them. 1. Let there be a label called `With Spaces` and a few issues with it. 2. Search for `*"With` and click on `With Spaces` at the bottom. Result: `*With Spaces` gets added to the search box instead of `*"With Spaces"`. There may be more complexity to the escaping than just spaces. I don't know how quotation marks in labels work. ### Vikunja Version v0.24.6 ### Browser and version Google Chrome Version 137.0.7151.68 (Official Build) (64-bit) ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots ![Image](https://github.com/user-attachments/assets/a3e992e3-0af0-454f-a8d1-7656fc9c3081) ![Image](https://github.com/user-attachments/assets/d59e3e19-0f71-4f65-82e1-82cd68a1c270)
Author
Owner

@kolaente commented on GitHub (Jun 25, 2025):

Fixed in https://github.com/go-vikunja/vikunja/pull/1013, please check with the next unstable build (should be ready for deployment in ~30min, also on try).

<!-- gh-comment-id:3004848503 --> @kolaente commented on GitHub (Jun 25, 2025): Fixed in https://github.com/go-vikunja/vikunja/pull/1013, please check with the next unstable build (should be ready for deployment in ~30min, also on [try](https://try.vikunja.io)).
Author
Owner

@bernardosulzbach commented on GitHub (Jun 25, 2025):

Yes, it seems to work on try, thanks.

<!-- gh-comment-id:3005717362 --> @bernardosulzbach commented on GitHub (Jun 25, 2025): Yes, it seems to work on try, thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6315