Subject: | revising an entry - single tag doesn't display |
Date: | Fri, 23 Mar 2007 20:12:14 -0700 |
To: | bug-Rubric [...] rt.cpan.org |
From: | "Casey Carter" <rockear [...] hive-mind.net> |
In Rubric version 0.142, if an entry has only one tag, editing the entry
prevents the single tag from showing up in the "entrytags" field.
The following patch fixes the problem.
--- Rubric-0.142/templates/post.html 2006-08-14 10:03:20.000000000 -0700
+++ /usr/local/rubric_templates/post.html 2007-03-23 20:03:34.000000000 -0700
@@ -50,7 +50,8 @@
<tr>
<th>[% accessor %]</th>
[% SET field_value = form.$param.join(" ")
- OR existing_entry.$accessor.join(" "); %]
+ OR existing_entry.$accessor.join(" ")
+ OR existing_entry.$accessor; %]
<td>[%
widget.input(
name => param,