Skip to content

Commit

Permalink
Fix freeOrder default in Advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Feb 19, 2024
1 parent 7534a33 commit af67b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/advanced_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const advancedSearchComponent = {
function (compareSearches, $location, $timeout) {
const $ctrl = this

$ctrl.freeOrder = $location.search().in_order == null
$ctrl.freeOrder = $location.search().in_order != null

if ($location.search().search && $location.search().search.split("|")) {
var [type, ...expr] = $location.search().search.split("|")
Expand Down

0 comments on commit af67b37

Please sign in to comment.