Skip to content

Commit

Permalink
remove unused sort query params from form submit
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielwoodland committed Dec 19, 2023
1 parent 99dca0a commit e08dd38
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
'sponsor' => $values['sponsor'] ?: '',
'full_text' => $values['full_text'] ?: '',
'committee' => $values['committee'] ?: '',
'sort_by' => 'field_ol_last_status_date',
'sort_order' => 'DESC',
];
break;

Expand All @@ -501,17 +499,13 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
'type' => $values['type'] ?: '',
'meeting_date' => $date_range ?: '',
'committee' => $values['committee'] ?: '',
'sort_by' => ' field_date_range',
'sort_order' => 'DESC',
];
break;

case 'session':
$params = [
'type' => $values['type'] ?: '',
'date' => $date_range ?: '',
'sort_by' => 'field_date_range',
'sort_order' => 'DESC',
];
break;

Expand All @@ -522,8 +516,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
'transcript_type' => $values['type'] ?: '',
'publish_date' => $date_range ?: '',
'full_text' => $values['full_text'] ?: '',
'sort_by' => 'field_ol_publish_date',
'sort_order' => 'DESC',
];
break;

Expand Down

0 comments on commit e08dd38

Please sign in to comment.