Log message #1109825

# At Username Text
# Oct 22nd 2009, 09:47 daddy ola bakers
# Oct 22nd 2009, 09:47 markstory rewrite the cache helper
# Oct 22nd 2009, 09:46 Iiridayn_ markstory: Is there a way to skip initiallzing the controller in the cache, to save some time?
# Oct 22nd 2009, 09:46 markstory that's why you need the controller.
# Oct 22nd 2009, 09:46 Ceeram just 3 remaining failing cases, those are not one of them
# Oct 22nd 2009, 09:46 markstory Iiridayn_: well you can enable controller callbacks when you make view caches.
# Oct 22nd 2009, 09:45 ionas <?=$paginator->sort(__('Date', true), 'Shout.created')?> or <?=$paginator->sort(__('Nickname', true), 'FromProfile.nickname')?>
# Oct 22nd 2009, 09:45 Ceeram they pass
# Oct 22nd 2009, 09:45 Ceeram no
# Oct 22nd 2009, 09:45 dogmatic69 ionas: ye its working with Industry not with country
# Oct 22nd 2009, 09:45 markstory you might get fails on dbo source and dbo mysql tests
# Oct 22nd 2009, 09:45 Ceeram -t
# Oct 22nd 2009, 09:45 Ceeram id didnt put it there, but i like it much thought
# Oct 22nd 2009, 09:45 ionas dogmatic69, it works though
# Oct 22nd 2009, 09:45 Iiridayn_ markstory: I searched through the file view.php for that variable name. While I realize that it's possibly used elsewhere, where and why form the basis of my question ;)
# Oct 22nd 2009, 09:45 dogmatic69 ionas: im trying to order by Country.name in Publisher | Publisher belongsTo Country andand Publisher belongsTo Industry... Industry.name sort works fine... must be my code
# Oct 22nd 2009, 09:45 markstory putting it into Product is wrong.
# Oct 22nd 2009, 09:44 Ceeram well it isnt
# Oct 22nd 2009, 09:44 markstory it should be at [0][price]
# Oct 22nd 2009, 09:44 Ceeram wasnt the [0][price] issue fixed?
# Oct 22nd 2009, 09:43 markstory you can't really have component callbacks called without a controller.
# Oct 22nd 2009, 09:43 Ceeram markstory: i must have some great db then: http://bin.cakephp.org/view/875784950
# Oct 22nd 2009, 09:43 markstory Iiridayn_: how do you figure the controller isn't used?
# Oct 22nd 2009, 09:41 Ceeram ~bin
# Oct 22nd 2009, 09:40 ionas dogmatic69, the first example uses contains, the second not (due to contains building lots of queries I omitted it)
# Oct 22nd 2009, 09:39 dakota just need to put it at the right place :)
# Oct 22nd 2009, 09:39 dakota lol
# Oct 22nd 2009, 09:39 dakota much*
# Oct 22nd 2009, 09:38 dogmatic69 thanks ionas
# Oct 22nd 2009, 09:38 dogmatic69 dam... that was easy...
# Oct 22nd 2009, 09:38 dakota but, what ionas posted is pretty must it
# Oct 22nd 2009, 09:38 dakota let me go find code
# Oct 22nd 2009, 09:38 t0nic I like bake esp.
# Oct 22nd 2009, 09:38 dakota I try not to have plans :)
# Oct 22nd 2009, 09:38 ionas and with complex find conditions and joins: http://github.com/ionas/sna/blob/master/www/app/controllers/profiles_controller.php#L97
# Oct 22nd 2009, 09:38 dogmatic69 im getting sql... where contain = 'Model'
# Oct 22nd 2009, 09:38 t0nic ionas yeah, I'm working with book and bake
# Oct 22nd 2009, 09:38 dogmatic69 dakota: what is your plan?
# Oct 22nd 2009, 09:37 t0nic dogmatic69: http://is.gd/4vWAG
# Oct 22nd 2009, 09:37 dakota dogmatic69: I do
# Oct 22nd 2009, 09:37 ionas dogmatic69, http://github.com/ionas/sna/blob/master/www/app/controllers/messages_controller.php#L60