mirror of
https://github.com/291-Group/LAN-Orangutan.git
synced 2026-04-27 10:25:59 +03:00
[PR #4] [MERGED] Fix label case corruption when editing devices #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LAN-Orangutan#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/291-Group/LAN-Orangutan/pull/4
Author: @FileBay
Created: 12/31/2025
Status: ✅ Merged
Merged: 12/31/2025
Merged by: @FileBay
Base:
main← Head:claude/audit-code-bugs-NaPWC📝 Commits (1)
cb8b723Fix label case corruption when editing devices📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
web/assets/app.js(+1 -1)📝
web/index.php(+2 -1)📄 Description
The data-label attribute was lowercase for search filtering, but editDevice() used it to populate the edit form. This caused labels to silently become lowercase when users clicked edit and saved.
Added separate data-label-original attribute to preserve original case for the edit modal while keeping lowercase version for search.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.