Active record like clause needs more parameters |
|||
|---|---|---|---|
| Date: | 06/09/2007 | Severity: | Minor |
| Status: | Bogus | Reporter: | suzkaw |
| Version: | 1.5.3 | ||
| Keywords: | Libraries, Database Class | ||
| Forum Thread: | http://codeigniter.com/forums/viewthread/44821/ | ||
Description
When using the like feature of the active record class it always uses the full term search. For example:
%myterm%
It needs a way to specify other options such as:
%myterm
myterm%
I did find a fix in the forums:
http://codeigniter.com/forums/viewthread/44821/
Expected Result
Actual Result
Comment on Bug Report
| Posted by: Derek Jones on 29 June 2007 5:17pm | |
|
|
This is not a bug, as the functionality that is presently included is working properly. Please do not use the Bug Tracker for feature requests. |
| Posted by: suzkaw on 1 July 2007 7:27pm | |
|
|
Sorry Derek you see feature and I see bug. I guess we will just disagree but there is a bug in the logic of the person that didn’t add that in. |
| Posted by: Derek Jones on 1 July 2007 11:58pm | |
|
|
No, it’s a pretty clear difference. A bug is code that does not function as intended. The function is working exactly as written and documented. And just so we’re clear, me stating that this is not a bug and asking you not to post feature requests here does not in any way meant that I disagree with you that the active record pattern could be more robust. But it’s not a bug, and we have a Feature Request forum that is a more appropriate location for these types of discussions. |
