Skip to content

Commit 1f9babf

Browse files
author
Oleksiy 'Alex' Levshyn
committed
remove old code after conflict resolution and merge
1 parent aba21eb commit 1f9babf

File tree

1 file changed

+0
-17
lines changed
  • mir-module/src/main/resources/META-INF/resources/js/mir

1 file changed

+0
-17
lines changed

mir-module/src/main/resources/META-INF/resources/js/mir/base.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -425,23 +425,6 @@
425425
}
426426
}
427427

428-
// Check the SOLR request after submitting
429-
$(subSearchFormName).submit(() => {
430-
let originalSearchAction = $(subSearchFormName).attr('action');
431-
// If the request not for 'find' but 'select'
432-
if (!originalSearchAction.includes('servlets/solr/find')) {
433-
let condQueryValue = '*';
434-
if (condQuery && ($(condQuery).val().trim() !== '')) {
435-
condQueryValue = $(condQuery).val().trim();
436-
}
437-
let qQueryParameterElement = document.createElement("input");
438-
qQueryParameterElement.setAttribute('type', 'hidden');
439-
qQueryParameterElement.setAttribute('name', 'q');
440-
qQueryParameterElement.setAttribute('value', condQueryValue);
441-
document.querySelector(subSearchFormName).appendChild(qQueryParameterElement);
442-
}
443-
});
444-
445428
// Element with the link to toggle to show/hide md5 sums
446429
const toggleMD5LinkElement = '.toggleMD5Link';
447430
// Derivate action dropdown toggle button element

0 commit comments

Comments
 (0)