Resolve "fix: remove minimum count for book no in patient profile in admin page"
What does this MR do and why?
This MR fixes an issue in the Admin → Patient Profile search where the search button was disabled for any input with less than 2 characters.
Previously, the minimum 2-character validation was applied to all search types, including book number search. This prevented users from searching single-digit book numbers (e.g., 1, 2, 3).
Updated the disabled condition in PatientSearch.tsx.
The 2-character minimum restriction now applies only to phone/name searches.
Book number searches can now be performed with single-digit values.
Book numbers can be single-digit. Restricting the search to minimum 2 characters was incorrect and blocked valid searches.
References
Closes #175 (closed)
Before:
Search button disabled when entering single-digit book number (e.g., 1) Minimum 2-character rule applied to all search types
After:
Search button enabled for single-digit book number Minimum rule applied only for phone/name search
Navigation: Admin → Patient Profile
MR acceptance checklist
Bug fix does not break existing functionality
Validation logic updated correctly
No UI layout changes introduced
Code follows project conventions
Tested locally
Single-digit book number search verified