# |
Dec 5th 2017, 15:38 |
joopm |
s |
# |
Dec 5th 2017, 15:37 |
joopm |
using different names does not help |
# |
Dec 5th 2017, 15:37 |
joopm |
too |
# |
Dec 5th 2017, 15:37 |
joopm |
for me the $Tests is a result of a query |
# |
Dec 5th 2017, 15:36 |
joopm |
i use this from the cookbook : $comments = $this->paginate($commentsTable->find()); |
# |
Dec 5th 2017, 15:32 |
joopm |
the url is http://localhost/cake_project/tests/search-test?sort=nameanddirection=asc |
# |
Dec 5th 2017, 15:31 |
neon1024 |
You’re assigning the variable you’re trying to paginate |
# |
Dec 5th 2017, 15:31 |
joopm |
whats the matter? |
# |
Dec 5th 2017, 15:31 |
joopm |
the Tests became Undefined variable: Tests |
# |
Dec 5th 2017, 15:30 |
joopm |
but if i try to clcik on the sort link |
# |
Dec 5th 2017, 15:30 |
joopm |
$Tests = $this->paginate($Tests,['sortWhitelist'=>['Tests.name']]); |
# |
Dec 5th 2017, 15:29 |
joopm |
the peginate is based on a query |
# |
Dec 5th 2017, 15:29 |
johnwayne |
what is the best source of free Email templates that are compatible with view in outlook :slightly_smiling_face: |
# |
Dec 5th 2017, 15:29 |
joopm |
i got a problem with ordering a "paginated" |
# |
Dec 5th 2017, 15:22 |
hmic |
these are very bad bros and there are so many of them |
# |
Dec 5th 2017, 15:21 |
pedroseco |
yes it must be |
# |
Dec 5th 2017, 15:21 |
hmic |
welcome pedroseco. so some stupid plugin/setting in the brower profile for whatever reason :/ |
# |
Dec 5th 2017, 15:20 |
frazr |
Can't seem to pass conditions to the contain for the join data |
# |
Dec 5th 2017, 15:20 |
pedroseco |
@hmic thanks for the help |
# |
Dec 5th 2017, 15:19 |
pedroseco |
ok so that explains this |
# |
Dec 5th 2017, 15:19 |
frazr |
Hmm, how do i pass conditions to joinData in the pivot table? Should know this, but seem to have forgotten :) |
# |
Dec 5th 2017, 15:18 |
pedroseco |
incognito works just fine |
# |
Dec 5th 2017, 15:18 |
pedroseco |
ok you were right |
# |
Dec 5th 2017, 15:16 |
pedroseco |
thnks |
# |
Dec 5th 2017, 15:16 |
pedroseco |
ok |
# |
Dec 5th 2017, 15:16 |
hmic |
FF has an option to restart in safe mode, somewhere :~ |
# |
Dec 5th 2017, 15:16 |
hmic |
hold the Control key while clicking the icon, i hope |
# |
Dec 5th 2017, 15:15 |
hmic |
and/or try incognito tab |
# |
Dec 5th 2017, 15:15 |
pedroseco |
how can I do that on Win? |
# |
Dec 5th 2017, 15:14 |
hmic |
now start the browser in safe mode, all plugins disabled |
# |
Dec 5th 2017, 15:14 |
pedroseco |
same request type of text/html |
# |
Dec 5th 2017, 15:14 |
pedroseco |
Ok no good. same problem |
# |
Dec 5th 2017, 15:13 |
pedroseco |
just a second. just disabled the AV and I'm restarting the browsers. |
# |
Dec 5th 2017, 15:12 |
pedroseco |
same user is being tested on other machines. |
# |
Dec 5th 2017, 15:11 |
pedroseco |
just have to disable the av to see if it is blocking somehow. |
# |
Dec 5th 2017, 15:11 |
hmic |
not that the user in question is on an error path on the server, which leads to the text/html response? |
# |
Dec 5th 2017, 15:11 |
pedroseco |
yes, since I can do this via curl on the console. |
# |
Dec 5th 2017, 15:10 |
hmic |
and you are sure the server is responding with (the correct) data? |
# |
Dec 5th 2017, 15:10 |
pedroseco |
on my machine and others, it's never text/html and always application/json |
# |
Dec 5th 2017, 15:10 |
hmic |
ok |
# |
Dec 5th 2017, 15:10 |
pedroseco |
and the request is "application/json, text/javascript, */*; q=0.01" |