Re: filterspec exact string search

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Tue, Mar 16, 2021 at 09:41:34AM +0100, Nagy Gabor wrote:
> Dear Roundup users,
> 
> I still really like Roundup, after learning how it works, it is very
> efficient to create a custom issue tracker.
> 
> However, I've just realised that when I filter on a string property
> (e.g. I set customer_name = "John Doe") in the web interface, then it
> just means substring, not exact string. Which is unintentional in my
> use case. How can I perform exact string filtering in the web interface
> easily? As I see, in the hyperdb layer there is a parameter
> `exact_match_spec' in the filter() method of the klasses which should
> filter on exact string match. But it seems it is not exported to the
> web interface, it is accessibly via _db only, but then I should
> reimplement the whole "batch" stuff on my own etc. Am I right?

The exact_match_spec is a recent addition and is currently not mapped in
the html db layer. Patches are gladly accepted. It shouldn't be too hard
to make this functionality accessible in the html db layer, too. It just
boils down to passing the exact_match_spec through to the html db.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.