Skip to content

Commit

Permalink
Merge pull request #134 from fleetbase/dev-v0.5.17
Browse files Browse the repository at this point in the history
v0.5.17 ~ setup contact and driver model to not autofill the user_uuid column f…
  • Loading branch information
roncodes authored Jan 27, 2025
2 parents 562598d + c1d7fda commit 64e4782
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fleetbase/fleetops-api",
"version": "0.5.16",
"version": "0.5.17",
"description": "Fleet & Transport Management Extension for Fleetbase",
"keywords": [
"fleetbase-extension",
Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Fleet-Ops",
"version": "0.5.16",
"version": "0.5.17",
"description": "Fleet & Transport Management Extension for Fleetbase",
"repository": "https://github.com/fleetbase/fleetops",
"license": "AGPL-3.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/fleetops-engine",
"version": "0.5.16",
"version": "0.5.17",
"description": "Fleet & Transport Management Extension for Fleetbase",
"fleetbase": {
"route": "fleet-ops"
Expand Down
7 changes: 7 additions & 0 deletions server/src/Models/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ class Contact extends Model
*/
protected $filterParams = ['place_uuid', 'customer_type', 'facilitator_type', 'place'];

/**
* The session-agnostic columns for the model.
*
* @var array
*/
protected $sessionAgnosticColumns = ['user_uuid'];

/**
* Get the activity log options for the model.
*/
Expand Down
7 changes: 7 additions & 0 deletions server/src/Models/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@ class Driver extends Model
*/
protected $filterParams = ['vendor', 'facilitator', 'customer', 'fleet', 'photo_uuid', 'avatar_uuid', 'avatar_value'];

/**
* The session-agnostic columns for the model.
*
* @var array
*/
protected $sessionAgnosticColumns = ['user_uuid'];

/**
* Get the activity log options for the model.
*/
Expand Down

0 comments on commit 64e4782

Please sign in to comment.