Project

General

Profile

Link to a Query View

Added by gabriel scolan over 16 years ago

How is it possible to link to a query results page ? I only found information to link to a Wiki Page, a specific issue ...
Does anyone know it ?
many thanks

gabriel


Replies (3)

RE: Link to a Query View - Added by Thomas Lecavelier over 16 years ago

Don't think so, just because at every request you have to recompute the query results. Your only way to achieve that is to create a public query if you're admin.

RE: Link to a Query View - Added by Anonymous over 16 years ago

Trac deals with this by having all the query parameters in the URL (e.g. http://trac.edgewall.org/query?status=assigned&status=new&status=reopened&group=status&milestone=0.11). Trac pretty much allows a link to any page you are viewing as every time you change a parameter of any view (be it revision history/query etc) it is reflected in the URL.

Could this be done for Redmine?

Cheers

Russell

RE: Link to a Query View - Added by gabriel scolan over 16 years ago

Indeed, there's an URL link for query as well, being "host/projects/yourproject/issues?query_id=<number_of_your_query>" but it is not very nice to link to such an URL within the text of a page.

My idea was more to create a keyword as part of the syntax like version:"<my_version>" or #"<issue ID>" or Documents.

In that case, the keyword could be query and use like this :

Queries:
  • query#3 (link to query with id 3)
  • query:"1.0 beta 2" (link to the query with name is given between double quotes)

We can think on any other links possible to any other objects (I'm surprised not to find "project" keyword but I should have missed it, or "news", or "board", ...).

    (1-3/3)