CiscoDevNet / iPSK-Manager

Identity PSK (IPSK) Manager for Cisco ISE provides an example of how to manage the full Life Cycle of Wi-Fi Pre Shared Keys for supported Hardware/Software through Cisco ISE.
Apache License 2.0
30 stars 16 forks source link

Individual endpoint column filters broken #45

Closed ciesinsn closed 4 months ago

ciesinsn commented 4 months ago

Endpoint column filters other then the first column do not work after commit 12f4f5a and 8503b62 when supporting frameworks were bumped to newer versions.

The following two code snip $(this).parent().index() is returning 0 for any filter column field user types into when it should be returning the proper column number the user is typing into.

https://github.com/CiscoDevNet/iPSK-Manager/blob/c33141109e95f29e5c5ef35de2e6ad659b053d87/supportfiles/adminportals/modules/endpoints/endpoints.inc.php#L219-L225

https://github.com/CiscoDevNet/iPSK-Manager/blob/c33141109e95f29e5c5ef35de2e6ad659b053d87/supportfiles/portals/sponsorportal/default/manage.inc.php#L448-L455

ciesinsn commented 4 months ago

Datatables 2.x added additional \ tags before the \ tag. Need to change $(this).parent().index() to $(this).parent().parent().index()

The fix for this will be pushed in the next commit.