https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292019-08-12T03:56:43ZRedmineRedmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=930612019-08-12T03:56:43ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/3040">Feature #3040</a>: Extend filter on subject field</i> added</li></ul> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=937972019-09-19T02:04:20ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/23869">31879_add_filter_operators.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23869/31879_add_filter_operators.patch">31879_add_filter_operators.patch</a> added</li></ul>I added "starts with" and "ends with" filter operators. These filter operator symbols mimics the CSS selectors.<br /><a class="external" href="https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors#Syntax">https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors#Syntax</a>
<ul>
<li>starts with : ^=</li>
<li>ends with : $=</li>
</ul>
<p>I attached a patch.</p> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=938122019-09-19T15:21:02ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=938342019-09-21T09:06:14ZMarius BÄ‚LTEANU
<ul></ul><p>Yuichi HARADA wrote:</p>
<blockquote>
I added "starts with" and "ends with" filter operators. These filter operator symbols mimics the CSS selectors.<br /><a class="external" href="https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors#Syntax">https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors#Syntax</a>
<ul>
<li>starts with : ^=</li>
<li>ends with : $=</li>
</ul>
<p>I attached a patch.</p>
</blockquote>
<p>Why not just <code>^</code>/<code>$</code> which are used in regex syntax or Lucene syntax? Using CSS selector syntax for text searching is not common.</p> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=938392019-09-21T14:41:17ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/23891">31879_add_filter_operators-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23891/31879_add_filter_operators-v2.patch">31879_add_filter_operators-v2.patch</a> added</li></ul><p>Marius BALTEANU wrote:</p>
<blockquote>
<p>Why not just <code>^</code>/<code>$</code> which are used in regex syntax or Lucene syntax? Using CSS selector syntax for text searching is not common.</p>
</blockquote>
<p>Nice idea. I have updated the patch.</p> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=939222019-09-25T16:24:31ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.1.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you for improving Redmine.</p> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=940512019-09-30T08:21:20ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/24012">31879_add_filter_operators_attachment.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/24012/31879_add_filter_operators_attachment.patch">31879_add_filter_operators_attachment.patch</a> added</li></ul><p>I added "starts with" and "ends with" filter operators to File filter, but didn't create an implementation.<br />I created a patch.</p> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=940522019-09-30T08:26:44ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul> Redmine - Feature #31879: "starts with" and "ends with" filter operators for string valueshttps://www.redmine.org/issues/31879?journal_id=940562019-09-30T13:16:20ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Yuichi HARADA wrote:</p>
<blockquote>
<p>I added "starts with" and "ends with" filter operators to File filter, but didn't create an implementation.</p>
</blockquote>
<p>Committed the fix in <a class="changeset" title="Add support for "start with" and "end with" operators to "Files" filter (#31879). Patch by Yuich..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18570">r18570</a>. Thank you.</p>