Skip to content

Commit

Permalink
carbrands ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 24, 2024
1 parent 2d60e43 commit 1e7a97d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/models/Itindata_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function get_carbrands($where = null)
if (isset($where)) {
$this->db->where($where);
}
$this->db->order_by('name_carbrand ASC');
$query = $this->db->get('carbrands_tbl');
if ($query -> num_rows() > 0) {
foreach ($query->result() as $row) {
Expand Down

0 comments on commit 1e7a97d

Please sign in to comment.