Re: filterspec exact string search
Nagy Gabor <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <20210317100637.1d880334@Dell> |
> 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 Dear Ralf, Thank you. I also came to the conclusion that it is easier to patch Roundup than workaround this in the web interface. First, I will only implement it where I need it, but later I will try to extend filter / filterspec everywhere in the web interface. If it seems to work and it is tested, I will send my patch to the devel mailing list. Regards, Gábor _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users