Skip to content

Enhance sorting logic in SessionsDataRetrieval - #1

Open
rfcmaXi wants to merge 2 commits into
kergomard:fix-session-statusfrom
rfcmaXi:main
Open

Enhance sorting logic in SessionsDataRetrieval#1
rfcmaXi wants to merge 2 commits into
kergomard:fix-session-statusfrom
rfcmaXi:main

Conversation

@rfcmaXi

@rfcmaXi rfcmaXi commented Aug 17, 2026

Copy link
Copy Markdown

Hello!

Thank you very much for the great plugin, which we are now using in production to protect our sessions and prevent duplicate logins.

I’ve added some logic here to sort the IP addresses properly. We can tell from the IP address which of our many rooms is used. It helps to have the IP blocks grouped together.

Best regards!!!

@rfcmaXi

rfcmaXi commented Aug 17, 2026

Copy link
Copy Markdown
Author

While I was at it, I also fixed a small typo in SessionsDataRetrieval.php. The sorting for the "Currently logged in" column wasn't working properly and sometimes scrambled the list when clicked. This was caused by comparing the session status to the wrong variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant