Skip to content

Commit af4b0d2

Browse files
ahornaceVladimir Kotal
authored andcommitted
Fix suggestions for groups selections (#2650)
fixes #2640
1 parent ccfc3b5 commit af4b0d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/web/Scripts.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2017, 2019 Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright (c) 2017, Chris Fraire <[email protected]>.
2323
*/
2424
package org.opengrok.indexer.web;
@@ -126,7 +126,7 @@ public String toHtml() {
126126
SCRIPTS.put("jquery-tablesorter", new FileScript("js/jquery-tablesorter-2.26.6.min.js", 12));
127127
SCRIPTS.put("tablesorter-parsers", new FileScript("js/tablesorter-parsers-0.0.1.js", 13));
128128
SCRIPTS.put("searchable-option-list", new FileScript("js/searchable-option-list-2.0.6.js", 14));
129-
SCRIPTS.put("utils", new FileScript("js/utils-0.0.27.js", 15));
129+
SCRIPTS.put("utils", new FileScript("js/utils-0.0.28.js", 15));
130130
SCRIPTS.put("repos", new FileScript("js/repos-0.0.1.js", 20));
131131
SCRIPTS.put("diff", new FileScript("js/diff-0.0.3.js", 20));
132132
SCRIPTS.put("jquery-caret", new FileScript("js/jquery.caret-1.5.2.min.js", 25));

opengrok-web/src/main/webapp/js/utils-0.0.27.js renamed to opengrok-web/src/main/webapp/js/utils-0.0.28.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright 2011 Jens Elkner.
2323
* Portions Copyright (c) 2017, Chris Fraire <[email protected]>.
2424
*/
@@ -2207,7 +2207,7 @@ function clearSearchFrom() {
22072207

22082208
function getSelectedProjectNames() {
22092209
try {
2210-
return $.map($("#project").searchableOptionList().getSelection(), function (item) {
2210+
return $.map($("#project").searchableOptionList().getSelection().filter("[name='project']"), function (item) {
22112211
return $(item).attr("value");
22122212
});
22132213
} catch (e) { // happens when projects are not enabled

0 commit comments

Comments
 (0)