Skip to content

Commit 79f371f

Browse files
author
Richard Jones
committed
Allow search_popup macro to work with all db classes, issue2550567
(thanks John Kristensen)
1 parent 821ede3 commit 79f371f

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Fixed:
4242
Added regression tests for message/rfc822 attachments with and without
4343
configured unpacking (mailgw unpack_rfc822, see Features above)
4444
Thanks to Benni B�rmann for reporting.
45+
- Allow search_popup macro to work with all db classes, issue2550567
46+
(thanks John Kristensen)
4547

4648

4749
2010-07-12 1.4.15

doc/acknowledgements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Michael Klatt,
7373
Bastian Kleineidam,
7474
Axel Kollmorgen,
7575
Cedric Krier,
76+
John Kristensen,
7677
Detlef Lannert,
7778
Andrey Lebedev,
7879
Henrik Levkowetz,

share/roundup/templates/classic/html/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
231231
<input tal:attributes="value python:request.form.getvalue(name) or nothing;
232232
name name;
233233
id name">
234-
<span tal:replace="structure python:db.issue.classhelp(columns,
234+
<span tal:replace="structure python:db[db_klass].classhelp(columns,
235235
property=name)" />
236236
</td>
237237

share/roundup/templates/minimal/html/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
218218
<input tal:attributes="value python:request.form.getvalue(name) or nothing;
219219
name name;
220220
id name">
221-
<span tal:replace="structure python:db.issue.classhelp(columns,
221+
<span tal:replace="structure python:db[db_klass].classhelp(columns,
222222
property=name)" />
223223
</td>
224224

0 commit comments

Comments
 (0)