Skip to content

Commit

Permalink
Merge pull request #2910 from BillyChinUML/master
Browse files Browse the repository at this point in the history
Modified table.cofee to display = instead of ==
  • Loading branch information
ZacharyMcCann authored Aug 16, 2022
2 parents da7eb99 + cf3b0ab commit 7cbf75b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/assets/javascripts/visualizations/highvis/table.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,15 @@ $ ->
search: false
@table.jqGrid('navGrid','#toolbar_bottom', params)

operands = { "eq": "=", "ne": "!", "lt": "<", "le": "<=", "gt": ">", "ge": ">=", "bw": "^", "bn": "!^", "in": "=", "ni": "!=", "ew": "|", "en": "!@", "cn": "~", "nc": "!~", "nu": "#", "nn": "!#" }

params =
stringResult: true
searchOnEnter: false
searchOperators: true
operandTitle: 'Select Search Operation'
resetIcon: '<i class="fa fa-times-circle"></i>'
operands: operands
@table.jqGrid('filterToolbar', params)

# Set the time column formatters
Expand All @@ -229,7 +232,7 @@ $ ->
# Restore the search filter type and operator symbol
operator = $('#' + inputId).closest('tr').find('.soptclass')
$(operator).attr('soper', column.op)
operands = { "eq": "==", "ne": "!", "lt": "<", "le": "<=", \
operands = { "eq": "=", "ne": "!", "lt": "<", "le": "<=", \
"gt": ">", "ge": ">=", "bw": "^", "bn": "!^", \
"in": "=", "ni": "!=", "ew": "|", "en": "!@", \
"cn": "~", "nc": "!~", "nu": "#", "nn": "!#" }
Expand Down

0 comments on commit 7cbf75b

Please sign in to comment.