Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#2797 closed defect (worksforme)

TicketQuery macro fails when searching ticket types with space characters

Reported by: ssalmine@… Owned by: Christian Boos
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: normal Keywords: ticket_type query
Cc: dusty.jewett@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If there is ticket type with space (say, "Software development"), then the following TicketQuerys do not work:

[[TicketQuery(status=new|reopened&type=Software+development)]]
or
[[TicketQuery(status=new|reopened&type="Software development")]]
or 
[[TicketQuery(status=new|reopened&type='Software development')]]
or
[[TicketQuery(status=new|reopened&type=Software%20development)]]

Which leaves no option, other than doing match with ^= and &=.

Attachments (0)

Change History (5)

comment:1 by anonymous, 18 years ago

Cc: dusty.jewett@… added
Version: 0.9devel

comment:2 by Christian Boos, 18 years ago

Component: wikiticket system
Keywords: ticket_type query added
Owner: changed from Jonas Borgström to Christian Boos

comment:3 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

Have you tried this:

[[TicketQuery(status=new|reopened&type=Software development)]]

There's also the possibility of using the query: links and the usual syntax for quoting space in TracLinks:

query:"?status=new&status=reopened&type=Software development"

comment:4 by dusty.jewett@…, 18 years ago

As such, this list: [[TicketQuery(status=new|reopened&component=search system)]]

#1268
Search for a revision/ticket/report number should find that changeset/ticket/report
#1502
Ticket searches don't interpret [[BR]]
#1505
Search all projects at once
#2390
search isn't case and accent insensitive
#2644
Link to ticket query page from search page
#4398
Inconsistent search for single-digit tickets
#5589
Full text search in attachments
#5850
Search Results Per Page Variable
#5933
Add search options for "match case" and "match whole word"
#6302
Retrieve search results in RSS format
#7069
'SearchResults doesn't indicate closed by etc..
#7313
Search help output provided by macros
#7454
Query timeouts with PG result in traceback
#8380
Search In Report / Search In Query functionality
#8436
search results won't show matches from ticket comments
#9039
Search within changeset contents(diffs)
#9643
[Patch] Ticket search by query with auto completion
#9707
search ticket does not work when query for both subject keyword and comment keyword
#10268
Search needs option for required words, logical operations, ignore words, etc
#10303
Faceted browsing in Search
#10372
Search in wiki should prioritize title matches and whole word matches above partial word matches
#10665
Search through all text fields
#11268
Obfuscation of email address is not performed on search results
#11428
Limit search realm when using quick search bar
#11627
Backport Bloodhound search API
#11730
Don't quickjump if multiple words in search phrase
#13346
Styling issue on search.css
#13349
Changesets are shown without repository name in search view
#13350
Search word not highlighting when word's length < 3

Should be the same as this list: [[TicketQuery(status=new|reopened&component~=search)]]

#1268
Search for a revision/ticket/report number should find that changeset/ticket/report
#1502
Ticket searches don't interpret [[BR]]
#1505
Search all projects at once
#2390
search isn't case and accent insensitive
#2644
Link to ticket query page from search page
#4398
Inconsistent search for single-digit tickets
#5589
Full text search in attachments
#5850
Search Results Per Page Variable
#5933
Add search options for "match case" and "match whole word"
#6302
Retrieve search results in RSS format
#7069
'SearchResults doesn't indicate closed by etc..
#7313
Search help output provided by macros
#7454
Query timeouts with PG result in traceback
#8380
Search In Report / Search In Query functionality
#8436
search results won't show matches from ticket comments
#9039
Search within changeset contents(diffs)
#9643
[Patch] Ticket search by query with auto completion
#9707
search ticket does not work when query for both subject keyword and comment keyword
#10268
Search needs option for required words, logical operations, ignore words, etc
#10303
Faceted browsing in Search
#10372
Search in wiki should prioritize title matches and whole word matches above partial word matches
#10665
Search through all text fields
#11268
Obfuscation of email address is not performed on search results
#11428
Limit search realm when using quick search bar
#11627
Backport Bloodhound search API
#11730
Don't quickjump if multiple words in search phrase
#13346
Styling issue on search.css
#13349
Changesets are shown without repository name in search view
#13350
Search word not highlighting when word's length < 3

(pardon for using the comments as a testing ground, but I don't have access to a publicly available trac server to show

the query: link only allows you to link to a query (at least, there's no documentation that says otherwise), but it would be nice to allow spaces in TicketQuery

comment:5 by anonymous, 18 years ago

Guess it works for me too!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


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