[PR #1387] [MERGED] Put whereHas-orDoesntHave in own where #1363

Closed
opened 2026-02-05 18:11:33 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1387
Author: @Boy132
Created: 5/19/2025
Status: Merged
Merged: 5/20/2025
Merged by: @Boy132

Base: mainHead: boy132/fix-query-for-mounts-and-database-hosts


📝 Commits (1)

  • 6ef93c7 put whereHas-orDoesntHave in own where

📊 Changes

2 files changed (+10 additions, -6 deletions)

View changed files

📝 app/Filament/Admin/Resources/DatabaseHostResource.php (+5 -3)
📝 app/Filament/Admin/Resources/MountResource.php (+5 -3)

📄 Description

Closes #1381

The whereHas-orDoesntHave checks need to be inside their own where to make sure the parenthesis on the query are correct.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1387 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 5/19/2025 **Status:** ✅ Merged **Merged:** 5/20/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-query-for-mounts-and-database-hosts` --- ### 📝 Commits (1) - [`6ef93c7`](https://github.com/pelican-dev/panel/commit/6ef93c75b803f8204fc72d5db80a91f284528996) put `whereHas`-`orDoesntHave` in own `where` ### 📊 Changes **2 files changed** (+10 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/DatabaseHostResource.php` (+5 -3) 📝 `app/Filament/Admin/Resources/MountResource.php` (+5 -3) </details> ### 📄 Description Closes #1381 The `whereHas`-`orDoesntHave` checks need to be inside their own `where` to make sure the parenthesis on the query are correct. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 18:11:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1363