Roundup Tracker - Issues

Issue 2550567

classification
Fix for search_popup macro
Type: behavior Severity: normal
Components: Web interface Versions: 1.4
process
Status: closed accepted
:
: richard : jerrykan, richard
Priority: : patch

Created on 2009-07-15 08:22 by jerrykan, last changed 2010-10-07 02:27 by richard.

Files
File name Uploaded Description Edit Remove
page.html.patch jerrykan, 2009-08-18 07:15
Messages
msg3792 Author: [hidden] (jerrykan) Date: 2009-07-15 08:22
the search_popup macro in the classic template is hardcode to display a
popup search dialog for issues only.

To fix, simply replace the following on (or about) line 234:
  <span tal:replace="structure python:db.issue.classhelp(columns,

with:
  <span tal:replace="structure python:db[db_klass].classhelp(columns,

This should allow users to use the 'db_klass' variable to change the
class of the classhelper (similar to other search_* macros).
msg3853 Author: [hidden] (jerrykan) Date: 2009-08-18 07:15
Here is a proper patch file
msg4139 Author: [hidden] (richard) Date: 2010-10-07 02:27
Applied, thanks.
History
Date User Action Args
2010-10-07 02:27:08richardsetstatus: new -> closed
assignee: richard
resolution: accepted
messages: + msg4139
nosy: + richard
2009-08-18 07:15:58jerrykansetfiles: + page.html.patch
keywords: + patch
messages: + msg3853
2009-07-15 08:22:04jerrykancreate