Skip to content

Commit 62e4070

Browse files
committed
Fix typos in DEVICE_FILTERS.md and devices.php for clarity and consistency
1 parent 721cdf0 commit 62e4070

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/DEVICE_FILTERS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Clear filters first, then reload the page and check again.
3030

3131
### Check global filters
3232

33-
You can select devices of what statuses should be displayed in the My Devices view. This can be adjusted in the _Settings_ section - search for the `UI_MY_DEVICES` setting and verify that the statuses you want to show are selected.
33+
You can select devices of what statuses should be displayed in the My Devices view. This can be adjusted in the _Settings_ section - search for the `UI_MY_DEVICES` setting and verify that the statuses you want to show are selected.
3434

3535
---
3636

@@ -41,7 +41,7 @@ Some devices may be excluded from normal views depending on configuration.
4141
Examples include:
4242

4343
* Archived devices
44-
* Devices marked as ignored (`NEWDEV_ignored_IPs` and `NEWDEV_ignored_IPs` settings)
44+
* Devices marked as ignored (`NEWDEV_ignored_IPs` and `NEWDEV_ignored_MACs` settings)
4545
* Virtual or relationship-only devices excluded from display (setting `UI_hide_rel_types`)
4646
* Devices assigned to another user view or group
4747

front/devices.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ function initializeDatatable (status) {
884884
{className: 'iconColumn text-center', targets: [mapIndx(COL.devIcon)]},
885885
{width: '80px', targets: [mapIndx(COL.devFirstConnection), mapIndx(COL.devLastConnection), mapIndx(COL.devParentChildrenCount), mapIndx(COL.devFQDN)] },
886886
{width: '85px', targets: [mapIndx(COL.devIsRandomMac)] },
887-
{width: '130px', targets: [mapIndx(COL.devLastIp), mapIndx(COL.devIpLong)] },
887+
{width: '130px', targets: [mapIndx(COL.devLastIP), mapIndx(COL.devIpLong)] },
888888
{width: '30px', targets: [mapIndx(COL.devIcon), mapIndx(COL.devStatus), mapIndx(COL.rowid), mapIndx(COL.devParentPort)] },
889889
{orderData: [mapIndx(COL.devIpLong)], targets: mapIndx(COL.devLastIP) },
890890

@@ -974,7 +974,7 @@ function initializeDatatable (status) {
974974
<a href="https://${cellData}" class="pointer" target="_blank">
975975
<i class="fa fa-lock "></i>
976976
</a>
977-
<div>`);
977+
</div>`);
978978
} else {
979979
$(td).html ('');
980980
}

0 commit comments

Comments
 (0)