|
@@ -10,7 +10,7 @@ export const routesRoutes = createCrudRoutes({
|
|
|
updateSchema: updateRouteSchema,
|
|
updateSchema: updateRouteSchema,
|
|
|
getSchema: getRouteSchema,
|
|
getSchema: getRouteSchema,
|
|
|
listSchema: routeListResponseSchema,
|
|
listSchema: routeListResponseSchema,
|
|
|
- searchFields: ['name', 'startLocation.name', 'endLocation.name', 'vehicleType'],
|
|
|
|
|
|
|
+ searchFields: ['name', 'startLocation.name', 'endLocation.name'],
|
|
|
relations: ['activity', 'startLocation', 'endLocation'],
|
|
relations: ['activity', 'startLocation', 'endLocation'],
|
|
|
middleware: [authMiddleware],
|
|
middleware: [authMiddleware],
|
|
|
userTracking: {
|
|
userTracking: {
|