⚠ 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

relation_n_n maximum 995 records written in BD



jroliveira

jroliveira
  • profile picture
  • Member

Posted 29 November 2012 - 15:12 PM

I'm using relation_n_n. I have 3478 records that are loaded in the right pane. I select all, but when I save and edit again, only 995 records appears in the left pane.

995 records is the most that I can.

Help-me.

Thank you

jroliveira

jroliveira
  • profile picture
  • Member

Posted 30 November 2012 - 12:53 PM

Please any suggestion?

Thanks

jroliveira

victor

victor
  • profile picture
  • Member

Posted 30 November 2012 - 14:15 PM

How many rows do you have in the table of relations? 995 ?

jroliveira

jroliveira
  • profile picture
  • Member

Posted 30 November 2012 - 16:03 PM

Victor thanks for your reply

I have only 995 rows.

[img]http://ricardoxavier.com.br/imagem.jpg[/img]

Thanks

jroliveira

victor

victor
  • profile picture
  • Member

Posted 30 November 2012 - 17:17 PM

show your controller.

jroliveira

jroliveira
  • profile picture
  • Member

Posted 30 November 2012 - 17:44 PM

Victor my controller is.

function admin_usuarios() {

$crud = new grocery_CRUD();
$crud->set_theme('datatables');
$crud->set_table('sys_usuarios');
$crud->set_relation_n_n('cargos', 'sys_usuarios_cargos', 'sys_cargos', 'id_usuario', 'id_cargo', 'cargo','priority');

$output = $crud->render();

$this->_example_output($output);
}

Thanks

jroliveira

victor

victor
  • profile picture
  • Member

Posted 30 November 2012 - 18:23 PM

it's strange. Can you send me your database dump.


jroliveira

jroliveira
  • profile picture
  • Member

Posted 30 November 2012 - 18:40 PM

Sent.

Thaks for your help

jroliveira

victor

victor
  • profile picture
  • Member

Posted 30 November 2012 - 20:30 PM

I can see your code tomorrow. Sorry, I'm busy now.

jroliveira

jroliveira
  • profile picture
  • Member

Posted 01 December 2012 - 19:57 PM

Victor

The problem is in my development environment (WAMP). I changed my environment and it worked.

Thanks

jroliveira