Commit 3c509de
committed
Surface exact ticket id match first in ticket autocomplete
Typing a known ticket number into a link field often failed to offer that
ticket: the autocomplete ran a single query capped at ten rows with no
exact-match priority, so when many tickets carried the number in their
Subject the one ticket the user actually wanted could fall outside the
window and never appear.1 parent 9352b04 commit 3c509de
1 file changed
Lines changed: 23 additions & 2 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
104 | 125 | | |
105 | 126 | | |
106 | 127 | | |
107 | | - | |
108 | | - | |
109 | 128 | | |
| 129 | + | |
110 | 130 | | |
111 | 131 | | |
| 132 | + | |
112 | 133 | | |
113 | 134 | | |
114 | 135 | | |
| |||
0 commit comments