]> git.decadent.org.uk Git - maypole.git/commitdiff
patch for display_line() macro to use CDBI->accessor_name in case the column accessor...
authorSimon Cozens <simon@simon-cozens.org>
Thu, 23 Dec 2004 14:58:27 +0000 (14:58 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 23 Dec 2004 14:58:27 +0000 (14:58 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@323 48953598-375a-da11-a14b-00016c27c3ee

templates/factory/macros

index afa2a74952c39db5f997f4d82d1278d3b2377021..8743afc4d1fe53b7e7e9d83abda195288a365395 100644 (file)
@@ -62,7 +62,8 @@ for some.
         ELSIF col == item.stringify_column;
             maybe_link_view(item);
         ELSE;
-            maybe_link_view(item.$col);
+            accessor = item.accessor_name(col);
+            maybe_link_view(item.$accessor);
         END;
         "</td>";
     END;