# |
Aug 23rd 2011, 21:27 |
cakehero |
waspinator where is the string to search against? |
# |
Aug 23rd 2011, 21:27 |
waspinator |
cakehero: I have the search term, but not what I'm searching against. I can't get the string to search against though |
# |
Aug 23rd 2011, 21:27 |
Section58 |
i don't think they would care |
# |
Aug 23rd 2011, 21:27 |
Section58 |
if the work gets done |
# |
Aug 23rd 2011, 21:27 |
cakehero |
so I wouldn't be surprised |
# |
Aug 23rd 2011, 21:27 |
cakehero |
well you've been on IRC all day |
# |
Aug 23rd 2011, 21:27 |
savant |
jk |
# |
Aug 23rd 2011, 21:27 |
savant |
i got "promoted" to funemployment! |
# |
Aug 23rd 2011, 21:27 |
cakehero |
jesus christ |
# |
Aug 23rd 2011, 21:27 |
savant |
i didnt get fired |
# |
Aug 23rd 2011, 21:26 |
savant |
no lol |
# |
Aug 23rd 2011, 21:26 |
Section58 |
did you start on the boss (don't do that) |
# |
Aug 23rd 2011, 21:26 |
cakehero |
savant I'm not hiring you, but, really? |
# |
Aug 23rd 2011, 21:26 |
cakehero |
savant really? |
# |
Aug 23rd 2011, 21:26 |
Section58 |
why you get fired :S |
# |
Aug 23rd 2011, 21:26 |
cakehero |
waspinatorhttp://bin.cakephp.org/view/2030876076 |
# |
Aug 23rd 2011, 21:26 |
savant |
Read: will not work for cakehero |
# |
Aug 23rd 2011, 21:26 |
Section58 |
erm |
# |
Aug 23rd 2011, 21:25 |
savant |
anyone need a fulltime dev? |
# |
Aug 23rd 2011, 21:25 |
savant |
so i just got fired |
# |
Aug 23rd 2011, 21:24 |
cakehero |
waspinator so you can pass the search term and do either 1) an 'expression' or 2) a 'query', which will set conditions for the search |
# |
Aug 23rd 2011, 21:23 |
Section58 |
ACTION writes it down |
# |
Aug 23rd 2011, 21:23 |
Section58 |
o wow really ? |
# |
Aug 23rd 2011, 21:23 |
waspinator |
cakehero: yes |
# |
Aug 23rd 2011, 21:23 |
cakehero |
waspinator you know how in the controller you have $presetVars? |
# |
Aug 23rd 2011, 21:23 |
cakehero |
waspinator in the model you can use the $filterArgs array |
# |
Aug 23rd 2011, 21:22 |
waspinator |
cakehero: It's automagically added to the view, but cannot access it in the model |
# |
Aug 23rd 2011, 21:22 |
hcl2 |
i guess it comes down to the difference of expecting null default in the sql to mean a default of null and not no default. either way, i would expect create() to not leave values from the object lying around |
# |
Aug 23rd 2011, 21:22 |
waspinator |
I would if I could get the string to perform the full text search on |
# |
Aug 23rd 2011, 21:21 |
cakehero |
waspinator well you can use that with Searchable if you would like |
# |
Aug 23rd 2011, 21:21 |
Section58 |
i am running out of beer :( |
# |
Aug 23rd 2011, 21:20 |
scoutmstershke |
i think that qualifies as Spam |
# |
Aug 23rd 2011, 21:20 |
hcl2 |
but without new expectation at line 71, it works. but I do see how it would/could break existing code |
# |
Aug 23rd 2011, 21:19 |
waspinator |
and that it's slow |
# |
Aug 23rd 2011, 21:19 |
waspinator |
that's pretty much it |
# |
Aug 23rd 2011, 21:19 |
waspinator |
I know the basic syntax of how to use it |
# |
Aug 23rd 2011, 21:19 |
cakehero |
waspinator I'm wondering if you are familiar with it |
# |
Aug 23rd 2011, 21:19 |
waspinator |
cakehero: what about it? |
# |
Aug 23rd 2011, 21:19 |
Section58 |
with a brick |
# |
Aug 23rd 2011, 21:19 |
Section58 |
you might need to rub it the right way |
# |
Aug 23rd 2011, 21:19 |
cakehero |
waspinator are you familiar with full text indexing on MySQL? |