Item316: filter blog entries by author
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: BlogAddOn
Branches:
WillNorris: is there any way to filter to blog listings so that i can list just the blogs of one person?
[07:28am] ArthurClemens: that would require to create a filter
[07:28am] WillNorris: eg, on http://estrella.wald3n.com/bin/view/Main/WillNorris to have a list of just my blog entries? (possibly with comments, but i dunno about that)
[07:38am] ArthurClemens: this is a search that creates a link for each category:
[07:38am] ArthurClemens: <span class="twikiUnvisited">%SEARCH{" *\s*.*?" topic="BlogCategory" web="Main" type="regex" multiple="on" casesensitive="on" nonoise="on" format="<a href='%SCRIPTURL{view}%/Main/BlogPost?sort=created;limit=10;sortdirection=descending;category=$pattern(.* \*\s*([^\n]*).*)'>$pattern(.* \*\s*([^\n]*).*)</a>"}%</span>
[07:38am] ArthurClemens: so search on author would be: ?sort=created;limit=10;sortdirection=descending;author=WillNorris
[07:38am] ArthurClemens: in fact it would be more readable to use QuerySearch
[07:38am] ArthurClemens: instead of the current one
Done in 1.6.0.
--
ArthurClemens - 20 Feb 2011