Clean up ticket views

1 view
Skip to first unread message

Roger Oberholtzer

unread,
5:40 AM (11 hours ago) 5:40 AM
to trac-...@googlegroups.com
I'm running trac 1.5.4.dev0. I should update...

My question is about ticket queries. I have a mix of the original
format queries that came with trac long ago, as well as newer ones
that use the more modern syntax.

I would like to clean this up. Is there a best way to do this that
doesn't break something? I'm thinking in terms of the order you delete
things. Or maybe it is best to edit the database to move queries
around and remove some?

--
Roger Oberholtzer

Clemens Feige

unread,
9:35 AM (7 hours ago) 9:35 AM
to trac-...@googlegroups.com
Hi Roger

As you probably know, reports i.e. queries have numbers. These number
can be used inside Wiki text. For example report:1 or just {1} points to

https://trac.edgewall.org/report/3

You can add, edit or delete reports in the TRAC web GUI. But if you
remove a report, then possible wiki references will be dead.

You cannot reorder or renumber reports via web GUI. New tickets always
get a number as (maximum +1).

In the database the reports are in table "reports". It is easy to change
the report number in the database; or add, remove, edit reports. I have
done that.

I used to create a report with a high number e.g. {99} in the database.
If my users create new reports via web GUI, then numbers will be {100},
{101} etc. This way, I can reserve all report numbers below {99} for my
purposes.

Clemens
Reply all
Reply to author
Forward
0 new messages