Edgewall Software
Modify

Opened 17 years ago

Last modified 9 years ago

#4398 new defect

Inconsistent search for single-digit tickets

Reported by: eli.carter@… Owned by:
Priority: normal Milestone: next-major-releases
Component: search system Version: 0.10
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If you search for #1 in the search field, you will jump to that ticket. If you try to search for #1 on the search page, you get an error that the search term is too short. (So you'll get that error on the first 9 tickets of the project.)

It is also useful to search for tickets that reference a ticket number; perhaps the search page should do that instead.

Attachments (0)

Change History (6)

comment:1 by eli.carter@…, 17 years ago

t.e.o exhibits this behavior, as does a 0.10 install. Sorry, I don't have a 0.10.3 or 0.11 handy to try.

in reply to:  description comment:2 by Emmanuel Blot, 17 years ago

Replying to eli.carter@commprove.com:

It is also useful to search for tickets that reference a ticket number; perhaps the

search page should do that instead.

You can search for occurence of tickets using the ! character to escape the quickjump feature, for ex: !#45 will search for all occurences of '#45'.

comment:3 by Christian Boos, 17 years ago

Milestone: 0.10.4
Severity: normalminor

Still, !#1 gives you the 'search query is too short' error…

There are two issues raised here:

  1. the consistency of the quickjump behavior
  2. how to find the tickets that references a ticket with only one digit, without getting hit by the minimal length check

For 1., I think the fix is easy (setting 0.10.4 for that).

For 2., it would be cumbersome to fix and I think that this functionality is better achieved with TracCrossReferences than by a search over the entire database (e.g. searching for #1, you'll miss all the ticket:1 references; not with proper cross-references management).

in reply to:  3 comment:4 by Emmanuel Blot, 17 years ago

Replying to cboos:

Still, !#1 gives you the 'search query is too short' error…

Sure, it was just a workaround

comment:5 by Christian Boos, 16 years ago

Milestone: 0.10.50.12

comment:6 by Ryan J Ollos, 9 years ago

Owner: Jonas Borgström removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.