[Home]

Summary:ASTERISK-08811: [patch] Search by first name does not match short names
Reporter:bbach (bbach)Labels:
Date Opened:2007-02-14 13:48:13.000-0600Date Closed:2007-04-09 12:24:28
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_directory
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_directory_short_first_name.patch
Description:When using the directory application with the "f" option to allow search by first name, it is impossible to match names that are less then 3 characters long (i.e. TK, TJ, Ty, etc).  In addition, if the caller only enters one or two digits, the digits are always checked against the three character string returned by convert and will never match.

This patch fixes the compare so that only the number of characters entered by the caller are checked against the name to determine if there is a match.
Comments:By: bbach (bbach) 2007-02-14 13:56:19.000-0600

This is related to bug_id 7151



By: bbach (bbach) 2007-02-14 17:11:04.000-0600

Disclaimer faxed

By: Jason Parker (jparker) 2007-04-09 12:24:28

Fixed in svn 1.2, 1.4, and trunk in revisions 60935, 60936, and 60937.  Thanks!