On Sat, 05 Nov 2005 14:19:25 +0000 Chris Smith <chris@xxxxxxxxxxxxx> wrote: > Matthias Grimm wrote: > Re. your other message .... > 1. The filter settings were > displayed above the input fields. I would prefer > to keep the filters inside the text input fields. This makes it possible > to change a filter. Currently you always need start from scratch. And the > list display won't "jump (down)" anymore. > > Can you explain this a little more. I don't understand what you mean > by "jump down" Yes. The following ASCII art display the user table at the beginning (left one) and after a filter was entered (right one): headline headline filter input filter <- newly inserted filter line user 1 filter input : user 1 <- user jumped down one line user n : user n Both tables are aligned to the top of the page and so it seems that the user table "jumps" a line down. This behaviour is very irritating because the eyes lost focus. > fwiw, MySQL does support regular expression via REGEXP. > e.g. SELECT * FROM userlist WHERE email REGEXP "^*@some.com$" I didn't know that. No day without something new :-) > However, I don't think it matters how you implement the filter in a > particular back end. Plain can use regexp easily, so why not. Another > auth system can implement filters as partial matches, preg syntax, SQL > pattern matching syntax (LIKE) or some other system. Since any one > installation of Dokuwiki will only have one auth backend I don't think > it matters if the filter system used is different. In principle I would agree. The only point I could imagine is that a certain dialog should behave always the same independent of the backend behind. It might confuse people that uses two or more different wiki installations. But because this is a admins interface this point is not so important I think. By the way regular expression filters would only make sense with thousands of users and even then I'm not sure. In mysql_class.php I implemented filters as "email LIKE '%@xxxxxxxx%'", which should be sufficient for 99% of cases. Best Regards Matthias -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist