Project

General

Profile

Extra query operators plugin

Added by Vitaly Klimov almost 14 years ago

Redmine extra query operators plugin

Plugin adds extra operators to issues query, allowing to select exact dates and offsets from current date. Also this plugin adds ability to use regular expressions in text fields

Details are available at http://www.redmine.org/plugins/redmine_extra_query_operators

Please download latest version of the plugin from plugin page!


Replies (52)

RE: Extra query operators plugin - Added by Peng Wang almost 14 years ago

Very useful plugin, it should be part of the redmine, instead of the plugin. I made a Simplified Chinese translation, hope it can help.

Br
-Peng Wang

zh.yml (356 Bytes) zh.yml

RE: Extra query operators plugin - Added by Peng Wang almost 14 years ago

It would be better if we can use "OR" in the filters, e.g. we want to filter the subject containing "crash" or "reboot"

Br
-Peng

RE: Extra query operators plugin - Added by Vitaly Klimov almost 14 years ago

Peng Wang wrote:

It would be better if we can use "OR" in the filters, e.g. we want to filter the subject containing "crash" or "reboot"

Actually, this one is easy to achieve using regexp - just select matches regexp for the subject operator and enter crash|reboot as match string.

RE: Extra query operators plugin - Added by Ivan Cenov almost 14 years ago

Why these are called "Is months" and "Is weeks"?

RE: Extra query operators plugin - Added by Luis Serrano Aranda almost 14 years ago

Sometimes redmine returns this message Updated can't be blank (this is with the filter updates)

RE: Extra query operators plugin - Added by Vitaly Klimov almost 14 years ago

Luis Serrano Aranda wrote:

Sometimes redmine returns this message Updated can't be blank (this is with the filter updates)

Thank you. Attached please find plugin with this bug fixed. Also it includes Chinese translation as well.

RE: Extra query operators plugin - Added by Luis Serrano Aranda almost 14 years ago

Thanks, thank you for your time and your work

RE: Extra query operators plugin - Added by Vitaly Klimov almost 14 years ago

Version 0.0.3

Plugin can be downloaded from its page

RE: Extra query operators plugin - Added by Andrea Saccavini almost 14 years ago

Good work! I will try your plugin asap!

RE: Extra query operators plugin - Added by Ivan Cenov almost 14 years ago

Bulgarian translation for 0.0.3

bg.yml (350 Bytes) bg.yml Bulgarian translation for version 0.0.3

RE: Extra query operators plugin - Added by Andrey Bruggemann over 13 years ago

Portuguese(Brazil) translation

pt-BR.yml (301 Bytes) pt-BR.yml Portuguese(Brazil) translation

RE: Extra query operators plugin - Added by Andrea Saccavini over 13 years ago

Italian translation

it.yml (284 Bytes) it.yml Italian translation

RE: Extra query operators plugin - Added by J. R. over 13 years ago

...just wanted to say that the plugin is awesome, I have it amongst just 3 plugins that are included in the baseline setup for a Redmine installation for new projects in my organization. Keep up the good work!

RE: Extra query operators plugin - Added by Andreas Dijkman over 13 years ago

I've installed this plugin on a fresh 1.1.3-installation. However the plugin can't work together with the other plugin of the same developer, XLS export plugin. Has anybody else problems with this?

What I'm seeing is either one is working. Or the XLS-plugin or the Extra Query Options, but not both at the same time.

RE: Extra query operators plugin - Added by Gauthier Brion over 13 years ago

It's breaking my "Apply" and "Save" filter button on 1.2.0
If I remove your plugin everything works well.

I tried to fix the problem and I saw that app\views\queries\_filters.rhtml bundeled with v0.0.3 was not updated for 1.2.0 (missing functions, ...)
Despite my try to fix it, it still no working.

Is there any one able to update this usefull plugin?

Thanks! :-)

RE: Extra query operators plugin - Added by Francisco José Martínez over 13 years ago

Great plugin!

I'm testing your plugin with redmine 1.0.2, and I didn't find any problem. Do you if is completly compatible with 1.0.X version?

RE: Extra query operators plugin - Added by Vitaly Klimov over 13 years ago

Version 0.0.4 released. Please download it from the plugin page.

http://www.redmine.org/plugins/redmine_extra_query_operators

What's new:

  • Compatibility with Redmine 1.2.x
  • Not compatible with Redmine versions prior to 1.2.x

RE: Extra query operators plugin - Added by Steven Wong over 13 years ago

the plugin is conflict with the plugin Redmine_show_description.Please check it. thanks.

the Redmine_show_description URL is:
http://www.redmine.org/plugins/redmine_show_descriptions

RE: Extra query operators plugin - Added by Vitaly Klimov over 13 years ago

What kind of conflict you have?

Please note that show descriptions is outdated and is not compatible with Redmine 1.2.1

RE: Extra query operators plugin - Added by Steven Wong over 13 years ago

Hi, Vitaly Klimov

When I installed the "show descriptions" and the "Extra query operators" together,the issues page would be crashed. I'm not sure how to modify it. The information is here

===============================================================================
NoMethodError in Issues#index

Showing vendor/plugins/redmine_extra_query_operators/app/views/queries/_filters.rhtml where line #148 raised:

undefined method `value_for' for #<Query:0x68e34a0>

Extracted source (around line #148):

145: <span class="span_values_<%= field >"><= text_field_tag "v[#{field}][]", query.value_for(field), :size => 3, :class => "values_#{field}" > <= l(:label_eqo_mw_tip) ></span>
146: <
# VVK end >
147: <
when :string, :text >
148: <span class="span_values_<
= field >"><= text_field_tag "v[#{field}][]", query.value_for(field), :class => "values_#{field}", :id => "values_#{field}", :size => 30 ></span>
149: <
when :integer, :float >
150: <span class="span_values_<
= field >"><= text_field_tag "v[#{field}][]", query.value_for(field), :class => "values_#{field}", :id => "values_#{field}_1", :size => 6 ></span>
151: <span class="span_values_<
= field >"><= text_field_tag "v[#{field}][]", query.value_for(field, 1), :class => "values_#{field}", :id => "values_#{field}_2", :size => 6 %></span>

Trace of template inclusion: vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml

RAILS_ROOT: D:/redmine

===============================================================================

RE: Extra query operators plugin - Added by Steven Wong over 13 years ago

And I think it is the problem of the redmine_show_descriptions. The file index.rhtml has lost the method of "value_for".

I'm not very Familiar in Ruby and Rails. Could anyone solve the problem? Thanks.

And there's the URL of redmine_show_descriptions plugin.

http://www.redmine.org/boards/3/topics/13820

If anyone is interested in the plugin, you can tried it with this. The plugin fixed some issues and it support the redmine 1.2.X.

http://www.redmine.org/attachments/6288/redmine_show_descriptions-0.0.4-Repack.zip

RE: Extra query operators plugin - Added by Chan Lee over 13 years ago

not compatible with Redmine 1.2.1
"value_for" deprecated. maybe...

RE: Extra query operators plugin - Added by Gauthier Brion over 13 years ago

No one succeed in using this plugin with 1.2.X ?

RE: Extra query operators plugin - Added by Tony Marschall over 13 years ago

Same here. No luck with 1.2.x

(1-25/52)