Project

General

Profile

Actions

Feature #18003

open

Show number of results next to stored issue queries

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

In the "tickets view" redmine admins and users can store several custom queries. The queries are shown at the right sidebar as link.
Having a configuration option that adds some more functionallity to these links would be great. In our case the number of results behind a stored query is very interesting in some cases. The link could look like:

Custom Query ABC (35)
Custom Query BCD (0)
Custom Query CDE (5)

ABC => 35 results, BCD => no result and so on...

I think this could be interesting for more redmine users - not only for us. Maybe you can add this functionallity to redmine as a configurable option?

Actions #1

Updated by Robert Schneider over 9 years ago

Wouldn't that mean that with each page request n queries have to be additionally made? I could imagine that this is to expensive.

Or those count values have to be pre-calculated. I mean they could be created and updated when tickets get changed. Not when the page is requested. But I think this is also expensive. And maybe not so easy to implement.

My two cents...

Actions #2

Updated by Anonymous over 9 years ago

Robert Schneider wrote:

Wouldn't that mean that with each page request n queries have to be additionally made? I could imagine that this is to expensive.

Or those count values have to be pre-calculated. I mean they could be created and updated when tickets get changed. Not when the page is requested. But I think this is also expensive. And maybe not so easy to implement.

My two cents...

Of course there are several ways to imlpement this.
First step: If it was configurable every admin could decide if the queries really are expensive for the redmine instance and the redmine server.
Second step: A caching mechanism could be implemented. (Updated every x hours or depending on ticket status changes...

Actions

Also available in: Atom PDF