Skip to content

Commit

Permalink
Remove ids from pagination hidden inputs
Browse files Browse the repository at this point in the history
Since pagination is typically duplicated on the page, these element ids
would also be duplicated.
  • Loading branch information
zerocrates committed Mar 28, 2024
1 parent 0b3a8ca commit 6b10b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/scripts/common/pagination_control.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

foreach ($hiddenParams as $key => $value) {
if ($key != 'page') {
echo $this->formHidden($key, $value);
echo $this->formHidden($key, $value, array('id' => ''));
}
}

Expand Down

0 comments on commit 6b10b41

Please sign in to comment.