mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 04:04:45 +02:00
Allow searching for port when associating allocations (#801)
This commit is contained in:
parent
839ff96271
commit
2bfc788e13
@ -152,6 +152,7 @@ class AllocationsRelationManager extends RelationManager
|
|||||||
->associateAnother(false)
|
->associateAnother(false)
|
||||||
->preloadRecordSelect()
|
->preloadRecordSelect()
|
||||||
->recordSelectOptionsQuery(fn ($query) => $query->whereBelongsTo($this->getOwnerRecord()->node)->whereNull('server_id'))
|
->recordSelectOptionsQuery(fn ($query) => $query->whereBelongsTo($this->getOwnerRecord()->node)->whereNull('server_id'))
|
||||||
|
->recordSelectSearchColumns(['ip', 'port'])
|
||||||
->label('Add Allocation'),
|
->label('Add Allocation'),
|
||||||
])
|
])
|
||||||
->bulkActions([
|
->bulkActions([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user