in cockpit DHCP-GUI you can’t see all IP-Reservations and leases. Only when I enter somthing in the searchbar, the coresponding reservations are lsitet.
IMO it should be shown in another way.
All reservation and leases should be shown and if I enter something in the search field, the list should be reduced to the result.
Is this possible?
Alternative “Reservations” or “Leases” right hand of the number could be a link to a popup overview.
ATM I only found the full list in firewall objects, where the reservation object are shown with (DNS).
No, if you look at the picture above, you can see that there are 18 reservations and 10 leases.
But non of them are shown in the page.
Only when I enter something in the search field, hosts with leases appear.
I think that should be turned over, so all hosts are shown by default and when I enter something in the search field, the list reduces to the result.
Or am I looking in the wrong place for DHCP?
I’m here
I can’t reproduce. When I open DHCP page, I alreday see all leases and reservation.
Please be sure that your package is up to date and no errors are showed into browser console.
API exec: system-authorization/read
$ /usr/libexec/nethserver/api/system-authorization/read | jq nethserver.js:41:17
API exec: system-task/read
$ /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-task/read | jq nethserver.js:41:17
API exec: system-settings/read
$ echo '{"action":"hints"}' | /usr/bin/sudo /usr/libexec/nethserver/api/system-settings/read | jq nethserver.js:41:17
grep: /sys/class/dmi/id/power/autosuspend_delay_ms: Input/output error
cockpit.js:590:36
API exec: system-authorization/read
$ /usr/libexec/nethserver/api/system-authorization/read | jq nethserver.js:41:17
tasks undefined App.vue:451
tasks no running tasks App.vue:451
TypeError: "t.toLowerCase is not a function"
n vue-good-table.js:944
compare vue-good-table.js:946
e vue-good-table.js:6326
2b0e VueJS
processedRows vue-good-table.js:6314
VueJS 3
paginated vue-good-table.js:6337
VueJS 3
render vue-good-table.js:14972
VueJS 7
vue.runtime.esm.js:1888
Source-Map-Fehler: Error: request failed with status 404
Ressourcen-Adresse: https://nethserver.jeckel.local:9090/cockpit/$f81af3f444e399…2d8f7c4fb38e82b3d0802d39f1571c9564734f3a523/base1/cockpit.js
Source-Map-Adresse: cockpit.min.js.map
EDIT: tested on FF, Edge, Chrome ond Opera
Installed packages are
nethserver-cockpit-lib-1.3.13-1.1.gd30496f.ns7.noarch
nethserver-cockpit-1.3.13-1.1.gd30496f.ns7.noarch
I did some tests. It’s not on client side.
Tested with other clients (Win10 1903 / Win 7). On all the same behaviour.
So it’s server side. And if I understand correctly it’s an issue, so I change the topic from feature to support.
EDIT: now I found, that if I click on Hostname nothing happens, but if I click on Desciption / IP address / MAC address or Lease expiration, the whole list appears!
So it has something to do with the grabbing of the hostnames??
The info appears when clicking on “Description”, “IP address”, “Mac address” or “Lease expiration”, but not when clicking on “Hostname”. Also when the list is appeared, the sorting (asc/des) only works with the above items, but again not with “Hostname”.
So I asume it’s a bug in the function which calls the hostnames. Maybe somthing related to case sensitivity, because of “t.toLowerCase is not a function”.
Somewhere I read that this error appears when the variable is not a string.
Now I can repoduce: Just create a reservation with a hostname with only numbers i.e. 123456.