Modify ↓
Ticket #2718 (closed defect: fixed)
Opened 6 years ago
Last modified 6 years ago
Searching for !WikiPageNames keeps the "!" in the highlighted term
| Reported by: | cboos | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | 0.10 |
| Component: | search system | Version: | 0.9.3 |
| Severity: | trivial | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
I've just noticed a few minor issues when one wants to
search for WikiPageNames like terms using the "!" prefix
to disable the quickjump facility:
- The highlighted term will contain the "!" prefix, which usually results in nothing being highlighted.
- On the opposite, the next pages links don't contain the "!" prefix anymore, resulting in a quickjump when trying to browse subsequent result pages.
Example: search:!TicketQuery (the expected result would be the
same as when using search:" TicketQuery").
Attachments
Change History
comment:1 Changed 6 years ago by cboos
Changed 6 years ago by Andres Salomon <dilinger@…>
- Attachment trac-searchwikipage-r2944.patch added
highlighting fix against r2944
comment:2 Changed 6 years ago by Andres Salomon <dilinger@…>
The patch I just attached is cboos's original patch updated for trunk, now that #2759 has been fixed there.
comment:3 Changed 6 years ago by cboos
- Resolution set to fixed
- Status changed from new to closed
Thanks for the update. I've checked that in (r2975).
Note: See
TracTickets for help on using
tickets.



[2910] fixed point 2.
Point 1. can be fixed by:
trac.js
As this conflicts with the patches on #2759, I'll postpone
this until one of those patches are committed.