mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-19 00:15:01 +00:00
Fix PostgreSQL version selection in global search redirect
Allow users to select PostgreSQL version instead of automatically creating postgres:16-alpine when using global search. The fix includes: - Remove hardcoded database_image parameter from GlobalSearch - Update Create.php to fall through to Select component when database_image is not provided - Add type and destination to Select component query string with proper URL mapping - Jump directly to PostgreSQL version selection step when navigating from global search 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
20c6f61858
commit
679833a0a6
5 files changed
+55
-5
No files matched your search
@@ -1314,11 +1314,6 @@ class GlobalSearch extends Component
|
||||
'server_id' => $this->selectedServerId,
|
||||
];
|
||||
|
||||
// PostgreSQL requires a database_image parameter
|
||||
if ($this->selectedResourceType === 'postgresql') {
|
||||
$queryParams['database_image'] = 'postgres:16-alpine';
|
||||
}
|
||||
|
||||
$this->redirect(route('project.resource.create', [
|
||||
'project_uuid' => $this->selectedProjectUuid,
|
||||
'environment_uuid' => $this->selectedEnvironmentUuid,
|
||||
|
||||
Reference in new issue
Block a user