IF pager;
SET additional = additional _ "&o2=desc"
IF col == request.query.order and request.query.o2 != "desc";
- link(classmetadata.table, "list", additional,
+ SET action = "list";
+ FOR col = classmetadata.columns.list;
+ IF request.query.$col;
+ SET additional =
+ additional _ "&" _ col _ "=" _ request.query.$col;
+ SET action = "search";
+ END;
+ END;
+ link(classmetadata.table, action, additional,
classmetadata.colnames.$col);
IF col == request.query.order;
IF request.query.o2 != "desc";