Harithhh06 / pe

0 stars 0 forks source link

find_members not optimmised #10

Closed Harithhh06 closed 1 week ago

Harithhh06 commented 1 week ago

Screenshot 2024-11-15 at 4.49.30 PM.png

Screenshot 2024-11-15 at 4.49.45 PM.png

Screenshot 2024-11-15 at 4.54.18 PM.png

Description

find_members does not correctly display all matching results. For 2 names that begin with the same string, only one is shown. This would make finding certain names difficult if you do not remember the full name. This is also not optimised as you have to type in the full name every time.

Steps to Reproduce

  1. Add 2 members with names differing by 1 extra character eg. Ahmad, Ahmady
  2. find_members ahmad

    Expected Outcome

Both members to be shown as result

Actual Outcome

Only one is shown