toaster: Toaster filters are broken

Submitted by Reyna, David on April 10, 2017, 1:21 p.m. | Patch ID: 138988

Details

Message ID 1491830495-32449-1-git-send-email-david.reyna@windriver.com
State New
Headers show

Commit Message

Reyna, David April 10, 2017, 1:21 p.m.
From: David Reyna <David.Reyna@windriver.com>

A syntax fix inadvertantly broke the Toaster filter feature.

[YOCTO #11317]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
---
 bitbake/lib/toaster/toastergui/static/js/table.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/toaster/toastergui/static/js/table.js b/bitbake/lib/toaster/toastergui/static/js/table.js
index 9db3902..1bbc8d1 100644
--- a/bitbake/lib/toaster/toastergui/static/js/table.js
+++ b/bitbake/lib/toaster/toastergui/static/js/table.js
@@ -708,7 +708,7 @@  function tableInit(ctx){
             if (action) {
               // Setup the current selected filter; default to 'all' if
               // no current filter selected
-              var radioInput = action.find('input[name]="filter"]');
+              var radioInput = action.find('input[name="filter"]');
               if ((tableParams.filter &&
                   tableParams.filter === radioInput.val()) ||
                   filterActionData.action_name == 'all') {