Code

Allow search_popup macro to work with all db classes, issue2550567 (thanks John Krist...
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 7 Oct 2010 02:30:46 +0000 (02:30 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 7 Oct 2010 02:30:46 +0000 (02:30 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4535 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
doc/acknowledgements.txt
share/roundup/templates/classic/html/page.html
share/roundup/templates/minimal/html/page.html

index 2347b09f1f26d06f5301c39df0dbb7df650e8e41..320e28d78ad12ee1588065ec64dbdce31a84f9cc 100644 (file)
@@ -42,6 +42,8 @@ Fixed:
   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
index 54f2d5b69a904622578d26583510e8c76ae6d537..0a60d63ea785de020ff6ffc5d4393663b2114d48 100644 (file)
@@ -73,6 +73,7 @@ Michael Klatt,
 Bastian Kleineidam,
 Axel Kollmorgen,
 Cedric Krier,
+John Kristensen,
 Detlef Lannert,
 Andrey Lebedev,
 Henrik Levkowetz,
index 8e8508447748acda379087aa856835ad85fa677b..52b5bed12e827298f3726618cf786eda2bcb19e6 100644 (file)
@@ -231,7 +231,7 @@ See issue.search.html in the classic template for examples.
   <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>
 
index 3502d4d7d2389a95b50a4003a7d44c4189aec4aa..6dac94ac6699550b61cd84d2e95b85147b4787ed 100644 (file)
@@ -218,7 +218,7 @@ See issue.search.html in the classic template for examples.
   <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>