Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

Record loading of atkOneToManyRelation #6

Open
PhrozenByte opened this issue Apr 25, 2014 · 0 comments
Open

Record loading of atkOneToManyRelation #6

PhrozenByte opened this issue Apr 25, 2014 · 0 comments

Comments

@PhrozenByte
Copy link
Contributor

Issue by PhrozenByte from 2012-08-03 13:47:25 +0200
Originally opened as https://github.com/atkphpframework/atk-history/issues/5


Currently the grid records of a atkOneToManyRelation are loaded within the display() and edit() methods. It's a kind of funny that $grid->loadRecords() is both times commented as "early loading"... That's not "early" - the contrary is the case. The record loading should be implemented within the regular load() method, the whole grid should be created within the init() method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant