Skip to content

Commit

Permalink
Revert "order by date"
Browse files Browse the repository at this point in the history
This reverts commit 9179c1a.
  • Loading branch information
pavlosb committed May 27, 2024
1 parent 9179c1a commit e93dac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Itindata_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function get_inspectionsfull($where=null)
$q = "Select k.*, v.*, c.*, u.first_name, u.last_name from inspections_tbl as k
LEFT JOIN vehicles_tbl AS v ON k.vehicle_inspection = v.id_vhcl
LEFT JOIN clients_tbl AS c ON k.client_inspection = c.id_client
LEFT JOIN users AS u ON k.inspector_inspection = u.id ORDER BY k.date_inspection DESC";
LEFT JOIN users AS u ON k.inspector_inspection = u.id";

if (isset($where))
{
Expand Down

0 comments on commit e93dac8

Please sign in to comment.