mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
In Logbook_model.php, replace select('DISTINCT user_id') with $this->db->distinct(); $this->db->select('user_id') to use CI's distinct API and produce correct SQL. Also correct the where clause to use station_logbooks_relationship.station_location_id instead of station_id so shared-access users are filtered by the proper station location.
|
||
|---|---|---|
| .. | ||
| cache | ||
| config | ||
| controllers | ||
| core | ||
| helpers | ||
| hooks | ||
| language | ||
| libraries | ||
| logs | ||
| migrations | ||
| models | ||
| third_party | ||
| views | ||
| .htaccess | ||
| index.html | ||