Hello
I came across an issue regarding those "previous / next ticket" links in
the navigation menu on top of ticket pages. I am wondering about the
"correct" logic in scope of ticket queries.
Normally mathematically "next ticket" should yield the current ticket
number + 1. However, in scope of ticket queries "next" yields the next
ticket in scope of the query result, where for example the next ticket
after #45 may be #41. In scope of this query logic Trac even offers a
"Back to Query" link.
So far so good.
But how can I stop this query sort logic and return to the ordinary
mathematical logic?
How can I make TRAC forget the ticket query?
How can I have "next" mean "+1" again?
Reproduce as follows:
- make a query for all tickets
- sort descending by ticket number
- enter any ticket number in the search field (quick search)
- in the ticket you will see that "next" is inverted (because the
descending sorted query is still active)
What do you think?
Have I misunderstood something?
Thanks
Clemens
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/cbbb735e-5b18-edc2-29ed-9992090c31b5%40osypkamed.com.
I came across an issue regarding those "previous / next ticket" links in
the navigation menu on top of ticket pages. I am wondering about the
"correct" logic in scope of ticket queries.
Normally mathematically "next ticket" should yield the current ticket
number + 1. However, in scope of ticket queries "next" yields the next
ticket in scope of the query result, where for example the next ticket
after #45 may be #41. In scope of this query logic Trac even offers a
"Back to Query" link.
So far so good.
But how can I stop this query sort logic and return to the ordinary
mathematical logic?
How can I make TRAC forget the ticket query?
How can I have "next" mean "+1" again?
Reproduce as follows:
- make a query for all tickets
- sort descending by ticket number
- enter any ticket number in the search field (quick search)
- in the ticket you will see that "next" is inverted (because the
descending sorted query is still active)
What do you think?
Have I misunderstood something?
Thanks
Clemens
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/cbbb735e-5b18-edc2-29ed-9992090c31b5%40osypkamed.com.