[pmwiki-users] DataQuery and DataPlates updates

Ben Stallings ben at interdependentweb.com
Sun May 20 14:17:32 CDT 2007


Thanks to Pm for letting me know that PmWiki 2.2.0 beta 46 would change 
the way DataQuery needed to process PageTextVariables.  I've just 
released an update that uses the new system.  All (both?) DataQuery 
users should upgrade DQ when upgrading PmWiki to beta 46 or later.

The new release also includes numerous small bug fixes (thanks mainly to 
Shi's testing) and one exciting new feature is not yet documented: it 
automatically filters queries by information passed via POST or GET... 
that is, if you have a query that normally returns a long list of 
results and you want to display only the ones where a given field, say 
firstname, contains a given string, say 'Ben', you need only add 
?firstname=Ben to the address of the page or submit it via a form, and 
the query will be filtered by firstname LIKE '%Ben%'.  This only happens 
if the query is not already configured to use other conditions on the 
firstname field.  Also, it cannot be used to expand queries, only to 
filter them.

The accompanying release of DataPlates also includes an exciting new, 
as-yet-undocumented feature: the auto-generated list templates now have 
column headings that may be clicked to sort by that column.  Thanks to 
Petko for helping me figure this one out.

Thanks again to everyone who's helped beta test these recipes!  They're 
getting better all the time!  --Ben



More information about the pmwiki-users mailing list