changeset 4427:c114843fcfbc

Allow search_popup macro to work with all db classes, issue2550567 (thanks John Kristensen)
author Richard Jones <richard@users.sourceforge.net>
date Thu, 07 Oct 2010 02:30:46 +0000
parents 25085aec7d5a
children e04f4c060887
files CHANGES.txt doc/acknowledgements.txt share/roundup/templates/classic/html/page.html share/roundup/templates/minimal/html/page.html
diffstat 4 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Wed Oct 06 23:37:29 2010 +0000
+++ b/CHANGES.txt	Thu Oct 07 02:30:46 2010 +0000
@@ -42,6 +42,8 @@
   Added regression tests for message/rfc822 attachments with and without
   configured unpacking (mailgw unpack_rfc822, see Features above)
   Thanks to Benni Bärmann for reporting.
+- Allow search_popup macro to work with all db classes, issue2550567
+  (thanks John Kristensen)
 
 
 2010-07-12 1.4.15
--- a/doc/acknowledgements.txt	Wed Oct 06 23:37:29 2010 +0000
+++ b/doc/acknowledgements.txt	Thu Oct 07 02:30:46 2010 +0000
@@ -73,6 +73,7 @@
 Bastian Kleineidam,
 Axel Kollmorgen,
 Cedric Krier,
+John Kristensen,
 Detlef Lannert,
 Andrey Lebedev,
 Henrik Levkowetz,
--- a/share/roundup/templates/classic/html/page.html	Wed Oct 06 23:37:29 2010 +0000
+++ b/share/roundup/templates/classic/html/page.html	Thu Oct 07 02:30:46 2010 +0000
@@ -231,7 +231,7 @@
   <input tal:attributes="value python:request.form.getvalue(name) or nothing;
                          name name;
                          id name">
-  <span tal:replace="structure python:db.issue.classhelp(columns,
+  <span tal:replace="structure python:db[db_klass].classhelp(columns,
                                       property=name)" />
 </td>
 
--- a/share/roundup/templates/minimal/html/page.html	Wed Oct 06 23:37:29 2010 +0000
+++ b/share/roundup/templates/minimal/html/page.html	Thu Oct 07 02:30:46 2010 +0000
@@ -218,7 +218,7 @@
   <input tal:attributes="value python:request.form.getvalue(name) or nothing;
                          name name;
                          id name">
-  <span tal:replace="structure python:db.issue.classhelp(columns,
+  <span tal:replace="structure python:db[db_klass].classhelp(columns,
                                       property=name)" />
 </td>
 

Roundup Issue Tracker: http://roundup-tracker.org/