From c791058063c55c6163b1392674b3f6ecf2951a85 Mon Sep 17 00:00:00 2001 From: Aaron Trevena Date: Thu, 2 Nov 2006 14:53:14 +0000 Subject: [PATCH] search_form now uses search columns git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@542 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 1 + lib/Maypole/templates/factory/search_form | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 96eac8d..f870c08 100644 --- a/Changes +++ b/Changes @@ -17,6 +17,7 @@ For information about current developments and future releases, see: new build_form_elements attribute for Maypole request, set it to 0 to avoid building cgi form if you don't need it made DFV and FromCGI warn instead of die on unexpected cgi params added CGI params to TT error template + small improvements to some factory templates 2.11 Mon 31 July 2006 diff --git a/lib/Maypole/templates/factory/search_form b/lib/Maypole/templates/factory/search_form index d10101e..f67be23 100644 --- a/lib/Maypole/templates/factory/search_form +++ b/lib/Maypole/templates/factory/search_form @@ -2,9 +2,7 @@
Search - [% FOR col = classmetadata.columns; - NEXT IF col == "id" OR col == classmetadata.table _ "_id"; - %] + [% FOR col = classmetadata.search_columns %]