X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ex%2Ffancy_example%2Ftemplates%2Fcustom%2Fdisplay_search_inputs;fp=ex%2Ffancy_example%2Ftemplates%2Fcustom%2Fdisplay_search_inputs;h=9985bfbd58e6b8d7d23d1326417d7c1d1179027b;hb=e1ed80e9b0929d184fabfb6d4df9a8db4580eb4e;hp=ee1d586acfb26e83a95952d5441904c729efd312;hpb=833895f46fdd117b0416acff264041af2ce6f46a;p=maypole.git diff --git a/ex/fancy_example/templates/custom/display_search_inputs b/ex/fancy_example/templates/custom/display_search_inputs index ee1d586..9985bfb 100644 --- a/ex/fancy_example/templates/custom/display_search_inputs +++ b/ex/fancy_example/templates/custom/display_search_inputs @@ -20,6 +20,7 @@ errors -- hash of errors keyed on columns SET cgi = classmetadata.cgi; SET delimiter = this.foreign_input_delimiter; FOR field IN srch_fields; + NEXT IF !cgi.$field; # Recursivly call this tmeplate if we have foreign field # (hash of foreign inputs should come with it) IF ( cgi.$field.keys );