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
(grafted from c9129aae884b476455c8ed1ad802efc3a26503a5)
--- a/cubicweb/web/views/cwsources.py Tue Feb 21 10:12:47 2017 +0100
+++ b/cubicweb/web/views/cwsources.py Tue Mar 07 14:27:09 2017 +0100
@@ -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'))