⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

[ANSWERED] callback_column not working with set_relation



slav123
  • profile picture
  • Member

Posted 15 May 2012 - 05:13 AM

I'm trying to work on column, which is created by set_relation, i've something like that;


$this->grocery_crud->set_relation('facebook_id', 'users', '{first_name} {last_name} {facebook_id}');
$this->grocery_crud->callback_column('facebook_id', array($this, 'callback_user'));


unfortunately callback_column is not "catching" results at all - any help how to solve that?

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 15 May 2012 - 05:46 AM

Yes this is a known bug, you can use the workaround: /topic/254-set-relation-breaks-processing-of-field-with-same-name-returned/page__p__982#entry982