]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/templates/factory/search_form
teejay's template updates
[maypole.git] / lib / Maypole / templates / factory / search_form
index 1f071949f3d42f762bcfeab31852b8cd72136449..d10101eae5550823965fc57d69bba57ed51556f2 100644 (file)
@@ -3,7 +3,7 @@
 <fieldset>
 <legend>Search</legend>
         [% FOR col = classmetadata.columns;
-            NEXT IF col == "id";
+            NEXT IF col == "id" OR col == classmetadata.table _ "_id";
          %]
            <label>
                 <span class="field">[% classmetadata.colnames.$col; %]</span>