g7_latch_control_boards#index (ActiveRecord::StatementInvalid) "PG::SyntaxError: ERROR
An ActiveRecord::StatementInvalid occurred in g7_latch_control_boards#index:
PG::SyntaxError: ERROR: syntax error at or near "OR"
LINE 1: ...T COUNT(*) FROM "g7_latch_control_boards" WHERE ( OR g7_latc...
^
app/datatables/g7_latch_control_board_datatable.rb:15:in `as_json'
-------------------------------
Request:
-------------------------------
* URL : https://bikelink.org/g7_latch_control_boards?sEcho=3&iColumns=2&sColumns=%2C&iDisplayStart=0&iDisplayLength=50&mDataProp_0=0&sSearch_0=&bRegex_0=false&bSearchable_0=true&bSortable_0=false&mDataProp_1=1&sSearch_1=&bRegex_1=false&bSearchable_1=true&bSortable_1=false&sSearch=429&bRegex=false&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&_=1698221980832
* HTTP Method: GET
* IP address : 83.148.38.152
* Parameters : {"sEcho"=>"3", "iColumns"=>"2", "sColumns"=>",", "iDisplayStart"=>"0", "iDisplayLength"=>"50", "mDataProp_0"=>"0", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "bSortable_0"=>"false", "mDataProp_1"=>"1", "sSearch_1"=>"", "bRegex_1"=>"false", "bSearchable_1"=>"true", "bSortable_1"=>"false", "sSearch"=>"429", "bRegex"=>"false", "iSortCol_0"=>"0", "sSortDir_0"=>"asc", "iSortingCols"=>"1", "_"=>"1698221980832", "controller"=>"g7_latch_control_boards", "action"=>"index"}
* Timestamp : 2023-10-25 08:19:46 UTC
* Server : www-8.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 54668
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"32f257ad47ac04bc566603e46f0e924b",
"warden.user.person.key"=>[[3142], "_Nou9U29jHTmGfhBBee9"],
"_csrf_token"=>"C3s2d5trYb40ElS8e0cGDss+njQbZxxPvxa5YOlO5F8="}
-------------------------------
Backtrace:
-------------------------------
app/datatables/g7_latch_control_board_datatable.rb:15:in `as_json'
app/controllers/g7_latch_control_boards_controller.rb:9:in `block (2 levels) in index'
app/controllers/g7_latch_control_boards_controller.rb:6:in `index'
app/controllers/application_controller.rb:45:in `process_action'
Reload