mirror of
1
Fork 0
forgejo/templates/repo/issue
Shiny Nematoda cddf608cb9 feat(issue search): query string for boolean operators and phrase search (#6952)
closes #6909

related to forgejo/design#14

# Description

Adds the following boolean operators for issues when using an indexer (with minor caveats)

- `+term`: `term` MUST be present for any result
- `-term`: negation; exclude results that contain `term`
- `"this is a term"`: matches the exact phrase `this is a term`

In all cases the special characters may be escaped by the prefix `\`

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6952
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2025-02-23 08:35:35 +00:00
..
fields Don't show hidden labels when filling out an issue template (#31576) 2024-07-14 10:39:08 +02:00
labels follow up on #2367: rel="nofollow" on in-list labels 2024-08-15 21:56:26 +02:00
milestone Fix milestone assignment in New Issue 2024-09-17 17:45:02 +02:00
view_content ui: update styling of comment headers and role labels (#6816) 2025-02-07 01:07:16 +00:00
card.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
choose.tmpl Fix spacing in issue navbar (#30238) 2024-04-07 15:40:31 +02:00
comment_tab.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
filter_actions.tmpl Fix Bug in Issue/pulls list (#32081) 2024-09-29 10:08:30 +02:00
filter_list.tmpl feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
filters.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
label_precolors.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
labels.tmpl Fix spacing in issue navbar (#30238) 2024-04-07 15:40:31 +02:00
list.tmpl Replace `gt-word-break` with `tw-break-anywhere` 2024-06-11 08:57:27 +05:00
milestone_issues.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
milestone_new.tmpl feat: use combo markdown editor for milestone description 2024-10-22 19:58:44 +02:00
milestones.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
navbar.tmpl fix(ui): correct switch ordering (#6576) 2025-01-15 19:56:17 +00:00
new.tmpl Fix incorrect redirection when creating a PR fails (#29537) 2024-03-06 12:10:45 +08:00
new_form.tmpl feat: "assign to me" button on PRs and issues 2024-10-08 18:36:37 +02:00
openclose.tmpl fix(ui): correct switch ordering (#6576) 2025-01-15 19:56:17 +00:00
search.tmpl feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
view_content.tmpl Fix edit cancel button 2024-12-30 17:33:52 +01:00
view_title.tmpl feat(ui): Display to maintainers in PR when it is editable 2025-02-09 16:22:25 +01:00