Mirrored from GitHub via DevOps Hub
Go to file
Mohamed Eltayar 74dde75ae9
🚨 CRITICAL HOTFIX: Restore list filtering & fix empty search
Merge pull request #4430 - CRITICAL HOTFIX: List filtering & empty search

🚨 CRITICAL HOTFIX: Restore list filtering & fix empty search

This resolves two critical issues reported after the last update:

1. RESTORED LIST FILTERING FUNCTIONALITY:
- Fixed _updateViewWithFilteredData to prioritize DOM filtering over re-rendering  
- Enhanced _filterExistingRows with better logic for detecting available vs required IDs
- DOM filtering now works first (fast), with re-rendering as fallback only
- This restores the list filtering that was broken in the previous field formatting update

2. FIXED EMPTY SEARCH (deleting last character):
- Modified _onSearchKeyUp to ALWAYS trigger search, even for empty values
- Fixed _performSearch to properly handle empty/zero-length values
- Now when deleting the last character, it properly calls _clearSearch and restores all records
- Counter now updates correctly when search becomes empty

Technical improvements:
- Enhanced DOM filtering logic with intersection detection
- Improved fallback rendering methods with proper error handling  
- Better debugging logs for troubleshooting DOM vs re-render decisions
- Maintained all previous fixes: field formatting, row clicks, single char search
- Optimized performance by prioritizing fast DOM operations over slow re-rendering

The search functionality now works completely as expected with both accurate counter updates and proper list filtering.
2025-08-29 21:55:49 +03:00
.github/workflows Update github action file 2025-08-20 12:15:20 +03:00
odex25_base 🚨 CRITICAL FIX: Restore DOM filtering functionality and fix empty search 2025-08-29 21:54:57 +03:00
README.md Add odex25_base 2024-06-24 13:55:54 +03:00

README.md

odex25-standard-modules

This Repo contains general standard modules for all projects.