Answers.Body: <p>It has to do with an added custom field. See: <a href="https://i.sstatic.net/MyJKZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MyJKZ.png" alt="enter image description here" /></a></p>
  <p>Its a range <em>and</em> an option list.</p>
  <p>Workaround.</p>
  <ul>
  <li>Go to the custom field definition (it's somewhere on cases, for techies, you can find the id in the javascript error.</li>
  <li>Change the Field Input Type to <em>Single Line Input Field</em></li>
  <li>Now <em>Search by Range</em> is visible. Uncheck it.</li>
  <li>Set the 'Field Input Type' back to the former value.</li>
  <li>And save.</li>
  </ul>
  <p>The case report should by back to normal.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-06T22:43:30.183Z
Answers.Text: It's clearly a bug. I just reported it. https://lab.civicrm.org/dev/core/-/issues/2288
Answers.UserDisplayName: Kainuk - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-06T23:04:04.237Z
Answers.Text: And a PR that fixes it https://github.com/civicrm/civicrm-core/pull/19332
Answers.UserDisplayName: Kainuk - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-06T16:45:17.887Z
Answers.LastActivityDate: 2021-01-06T22:28:05.343Z
Answers.LastEditDate: 2021-01-06T22:28:05.343Z
Answers.UserDisplayName: Kainuk - CiviCooP
Body: <p>When I use the 'Find Cases' report (from the Case menu), and I select [Delete Cases] it does nothing. And it looks de different. Like this: <a href="https://i.sstatic.net/34IFZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/34IFZ.png" alt="enter image description here" /></a></p>
  <p>CiviCRM version  5.34.alpha1 on Drupal:</p>
  <p>And besides that, the search part looked funny too:<a href="https://i.sstatic.net/vW6fz.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vW6fz.png" alt="enter image description here" /></a>
  The search <em>from</em> and the <em>to</em> fields are visible.</p>
  <p>In the JavaScript console I see the following message in red:</p>
  <pre><code>select2.min.js?qmiq9r:75 Uncaught query function not defined for Select2 custom_13_from
  </code></pre>
  
Tags: <custom-fields><civicase><reports>
Title: Why does my 'Delete Case' action in the case search report not work?
ThreadText: # Why does my 'Delete Case' action in the case search report not work?
  
  (Asked by: username_0 on 2021-01-06)
  
  When I use the 'Find Cases' report (from the Case menu), and I select [Delete Cases] it does nothing. And it looks de different. Like this: 
  CiviCRM version  5.34.alpha1 on Drupal:
  And besides that, the search part looked funny too:
  The search from and the to fields are visible.
  In the JavaScript console I see the following message in red:
  select2.min.js?qmiq9r:75 Uncaught query function not defined for Select2 custom_13_from
  
  **Tags:** custom-fields, civicase, reports
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-01-06. Score: 2
  
  It has to do with an added custom field. See: [![enter image description here](https://i.sstatic.net/MyJKZ.png)](https://i.sstatic.net/MyJKZ.png)
  
  Its a range *and* an option list.
  
  Workaround.
  
  * Go to the custom field definition (it's somewhere on cases, for techies, you can find the id in the javascript error.
  * Change the Field Input Type to *Single Line Input Field*
  * Now *Search by Range* is visible. Uncheck it.
  * Set the 'Field Input Type' back to the former value.
  * And save.
  
  The case report should by back to normal.
  
  > **Comments:**
  > **username_0**: It's clearly a bug. I just reported it. https://lab.civicrm.org/dev/core/-/issues/2288  
  > **username_0**: And a PR that fixes it https://github.com/civicrm/civicrm-core/pull/19332  
  
  ---
  
  