Fix log level parameter not taken into account in cwsource log table
An error in the jquery selector of the html widget controlling the log
level was the cause of this bug.
Closes #15772634
--- a/cubicweb/web/views/cwsources.py Tue Oct 11 14:48:27 2016 +0200
+++ b/cubicweb/web/views/cwsources.py Thu Oct 13 12:51:12 2016 +0200
@@ -343,7 +343,7 @@
def render_table(self, w, actions, paginate):
default_level = self.view.cw_extra_kwargs['default_level']
if default_level != 'Debug':
- self._cw.add_onload('$("select.logFilter").val("%s").change();'
+ self._cw.add_onload('$("select.log_filter").val("%s").change();'
% self._cw.form.get('logLevel', default_level))
w(u'\n<form action="#"><fieldset>')
w(u'<label>%s</label>' % self._cw._(u'Message threshold'))