Tags:
create new tag
view all tags

SID-01361: ActionTrackerPlugin search sorting

Status: Unanswered Unanswered TWiki version: 4.1.2 Perl version:
Category: ActionTrackerPlugin Server OS: Last update: 13 years ago

I am trying to update an actionsearch result page that we use for handling weekly reports. Up until now, we would do a simple actionsearch to look for things due on a certain date with a certain topic and present the information in a tidy little table. The search string looked like:

%ACTIONSEARCH{ due="9-Jan-2012" topic="*Weekly" sort="$who" format="|$who|$text|" header="|Name|Summary|" separator="$n" }%

We have now added a 'team' variable and want to group by team and sort by name. If I modify the actionsearch to do:

%ACTIONSEARCH{ due="9-Jan-2012" topic="*Weekly" sort="$team,$who" format="|$who|$text|" header="|Name|Summary|" separator="$n" }%

... I end up with a table with all of the results but no grouping. From my understanding of the documentation, I'd need to perform separate actionsearches, specifying the team in each of them and allowing the sort to be still on $who. I could then add headers between each result to make it look pretty, like:

CSD

%ACTIONSEARCH{ due="9-Jan-2012" topic="*Weekly" team="csd" sort="$who" format="|$who|$text|" header="|Name|Summary|" separator="$n" }%

HIS

%ACTIONSEARCH{ due="9-Jan-2012" topic="*Weekly" team="his" sort="$who" format="|$who|$text|" header="|Name|Summary|" separator="$n" }%

Problem is: if I do multiple actionsearches (there would be 12 of them, a total of around 120 results, but 12 individual searches for the teams), the web server will eventually throw a 500 error, presumably because the task is taking too long (5+ minutes).

Any ideas on how I can do this more simply? Please let me know if any more info is needed.

-- BrandonPamplin - 2011-12-27

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2012-07-01

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title ActionTrackerPlugin search sorting
SupportCategory ActionTrackerPlugin
TWiki version 4.1.2
Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-07-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.