cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about This website: Answered

Ammount of topics that recently changed by specific WikiUser

How can I do that?

-- TomHorst - 07 Mar 2014

Say you wanted to find the last 5 topics that were most recently modified by a specific user. If you look at the WebChanges topic, you can see that it does a search like this:

%SEARCH{"'1'" web="%BASEWEB%" type="query" nosearch="on" noheader="on" order="modified" limit="%URLPARAM{"limit" default="50"}%" reverse="on"}%

You can narrow this down to the current user by changing the query to match the author of the topic:

%SEARCH{"info.author='%WIKINAME%'" web="%WEB%" type="query" nosearch="on" noheader="on" order="modified" limit="5" reverse="on"}%

In this web, this will yield:

Number of topics: 0

You can narrow this down further using the features of QuerySearch and FormattedSearch.

-- CrawfordCurrie - 07 Mar 2014

Thanks big grin

-- TomHorst - 07 Mar 2014

QuestionForm edit

Subject This website
Extension
Version Foswiki 1.1.8
Status Answered
Related Topics
Topic revision: r3 - 07 Mar 2014, TomHorst - This page was cached on 18 Jun 2018 - 07:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy