https://www.r-labs.org/https://www.r-labs.org/welcome/index/themes/rlabs_theme_flat/favicon/favicon.ico?16655536462014-11-30T14:25:52Zr-labsWiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=45672014-11-30T14:25:52ZTomohisa Kusukawat@kusukawa.jp
<ul><li><strong>ステータス</strong> を <i>新規(New)</i> から <i>フィードバック(Reopend)</i> に変更</li><li><strong>担当者</strong> を <i>sam xu</i> にセット</li></ul><p>Hi sam</p>
<p>Thank you for interested in my plugin.<br />and I'm sorry for inconvenient.</p>
<p>I'm not sure the reason, <br />issue's filter dose not have 'fixed_version_id',<br />but custom query has 'fixed_version_id'.</p>
<p>So it will be available in that you create a custom query and use it, maybe.</p>
<pre>
{{ref_issues(-p=heos-1,-i=123,-f:fixed_version_id=551)}}
123 is custum query ID.
</pre> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46532015-04-14T09:43:38ZRobert Rothrobi@ubinam.de
<ul></ul><p>Tomohisa Kusukawa は書きました:</p>
<blockquote>
<p>Hi sam</p>
<p>Thank you for interested in my plugin.<br />and I'm sorry for inconvenient.</p>
</blockquote>
<p>I'm also interested in the plugin, we're using it a lot as a replacement for Trac TicketQueries, and it works fine, thanks for creating it.</p>
<blockquote>
<p>I'm not sure the reason, <br />issue's filter dose not have 'fixed_version_id',<br />but custom query has 'fixed_version_id'.</p>
</blockquote>
<p>The reason seems to me that in redmine app/models/issue_query.rb:initialize_available_filters adds both category_id (see issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: category_id not available as filter (終了(Closed))" href="https://www.r-labs.org/issues/1375">#1375</a>) and fixed_version_id as type:list_optional, and not as :text or :date* like the other filters which become available as filters using the macro for filtering.<br />I have locally added "@query.available_filters["fixed_version_id"] = { :type => :text};" to plugins/redmine_wiki_lists/lib/ref_issues/parser.rb after the other available_filters (description and subjectdescription) are defined, and I can now filter by fixed_version_id (although it'd be great to have this officially released). Doing the same for category_id too might fix <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: category_id not available as filter (終了(Closed))" href="https://www.r-labs.org/issues/1375">#1375</a>.</p> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46552015-04-14T12:21:12ZMatthias Reinhardtmmr@gmx.com
<ul></ul><p>Great! Adding category_id solves our problem.<br />So +1 for including the fix in the plugin.</p> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46582015-04-14T14:47:38ZTomohisa Kusukawat@kusukawa.jp
<ul><li><strong>次のチケットが重複</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/1375">Defect #1375</a>: category_id not available as filter</i> を追加</li></ul> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46602015-04-14T15:21:08ZTomohisa Kusukawat@kusukawa.jp
<ul><li><strong>ステータス</strong> を <i>フィードバック(Reopend)</i> から <i>解決(Resolved)</i> に変更</li><li><strong>進捗率</strong> を <i>0</i> から <i>100</i> に変更</li></ul><p>更新履歴 commit:18753d703e7e で適用されました。</p> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46612015-04-14T15:29:20ZTomohisa Kusukawat@kusukawa.jp
<ul><li><strong>ステータス</strong> を <i>解決(Resolved)</i> から <i>終了(Closed)</i> に変更</li><li><strong>担当者</strong> を <i>sam xu</i> から <i>Tomohisa Kusukawa</i> に変更</li><li><strong>対象バージョン</strong> を <i>0.0.5</i> にセット</li></ul><p>Thank you very much, Robert and Matthias!</p>
<p>I committed your advice in commit:18753d703e7e .</p> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46622015-04-15T13:05:54ZMatthias Reinhardtmmr@gmx.com
<ul></ul><p>Can you please release the version 0.0.5 with this fix on bitbucket?<br />Maybe you also can do <a class="external" href="https://bitbucket.org/tkusukawa/redmine_wiki_lists/pull-request/2/changed-text-to-int-for-category_id-and">https://bitbucket.org/tkusukawa/redmine_wiki_lists/pull-request/2/changed-text-to-int-for-category_id-and</a> before <img src="/plugin_assets/redmine_wiki_extensions/images/smile.png" alt=":)"></p> Wiki Lists - Question #1358: It shows error when I use "fixed_version_id" ?https://www.r-labs.org/issues/1358?journal_id=46632015-04-19T12:33:10ZTomohisa Kusukawat@kusukawa.jp
<ul></ul><p>released 0.0.5</p>