Menu

#90 PageListFilters

open
None
5
2012-10-11
2008-02-05
Reini Urban
No

LockedPages:
<?plugin AllPages info=locked,author locked=1 ?>

If locked would be detected as valid filter. But apparently it is not supported yet.

I'll think of a way to filter by any valid column automatically, with custom columns also.
Currently pagelist filters are not handled within PageList itself, they are handled within the calling plugin, here in AllPages.

PageListFilters:
left: all valid PageList types,
i.e. array_keys($PageList->_types)
op: =, <>, >, >=, <, <=
right: any number or string,
strings are handled as TextSearchQuery
boolean: 0,1,true,false

Samples:
Boolean filters:
locked=0 or locked=1
String filters:
pagename=Test, pagename<>Test (á la exclude=Test), content="plugin AllPages*"
Numeric filters should include:
version<10, version>0, size<=400, ...

Discussion


Log in to post a comment.