Skip to content

Commit

Permalink
style: clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Paco committed Dec 9, 2024
1 parent 1d740a6 commit c4ca851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/search/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,7 @@ search.prototype.get_search_group_operator = function(search_group) {
let operator_value = '$and' // Default (first level)

// Get search_group direct children
const children = search_group.children
// console.log("children:",children);
const children = search_group.children || []

// Iterate to find .search_group_operator div
const len = children.length
Expand Down

0 comments on commit c4ca851

Please sign in to comment.