Allow filtering by category in by category display.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1344 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2003-12-10 21:57:31 +00:00
parent 254ab86e6d
commit 0d0e8645a4
2 changed files with 53 additions and 3 deletions
@@ -1,5 +1,5 @@
//
// $Id: bycategory.java,v 1.2 2003/12/10 20:33:42 mdb Exp $
// $Id: bycategory.java,v 1.3 2003/12/10 21:57:31 mdb Exp $
package com.samskivert.twodue.logic;
@@ -37,6 +37,9 @@ public class bycategory extends UserLogic
ctx.put("error", msg);
}
// put any filter into the context
ctx.put("filter", ParameterUtil.getParameter(req, "filter", false));
ArrayList tasks = null;
String query = ParameterUtil.getParameter(req, "query", false);
if (StringUtil.blank(query)) {