Sukhwinder Dhillon
24fceca424
DependencyNode: Use static call to avoid unnecessary columns in case of summary query
2025-07-10 13:12:37 +02:00
Sukhwinder Dhillon
eed9a3bc04
Move the HostController::joinFix() method to DependecyNode
...
- Centerlize the method
2025-07-10 09:17:50 +02:00
Sukhwinder Dhillon
41601abff7
(Host|Service)Controller: Sort parents children tab list by default to severity
...
- Disable the default sorting for the `$hasDependencyNode` and UnreachableParent's `$rootQuery`, as sort is not required here
and triggers an error, because the sort columns are not retrieved.
2025-01-22 13:44:32 +01:00
Johannes Meyer
8d39fa30d9
DependencyNode: Cast boolenum to int where applicable
...
PostgreSQL doesn't like mixing different types with COALESCE()
2025-01-15 15:02:41 +01:00
raviks789
46577ff26b
Add column environment_id to the models related to the dependency feature
2025-01-14 11:43:12 +01:00
Sukhwinder Dhillon
d7cac9def9
RedundancygroupController:: add some optimizations
...
- Use Translation trait's translate() method
- Add sort columns to DependencyNode
2024-11-19 17:44:55 +01:00
Sukhwinder Dhillon
e426edde85
Models: Add missing columns and methods
...
RedundancyGroupSummary: Add columns for `(un)acknowledged` count
2024-11-14 16:35:07 +01:00
Johannes Meyer
e96f2a4dfc
add-some-mssing-reltions
2024-11-14 15:46:11 +01:00
Johannes Meyer
56180b4ae8
db: Cleanup parent/child relations in matching models
...
The previous relations didn't work as expected.
Now, filtering with `child.host.name` or
`parent.service.name` works fine.
2024-10-08 16:30:04 +02:00
Johannes Meyer
82bbe6b50b
db: Add model for table dependency_node
2024-10-08 16:30:04 +02:00