Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Build options in multiple stages in template listbox helper #109

Closed
ercanozkaya opened this issue Jun 8, 2016 · 0 comments
Closed

Build options in multiple stages in template listbox helper #109

ercanozkaya opened this issue Jun 8, 2016 · 0 comments

Comments

@ercanozkaya
Copy link
Contributor

If a listbox is created out of thousands of entities they are all fetched at the same time resulting in memory limit errors.

Instead, fetch results 100 by 100 and gradually build the options array.

Note: this removes the 'unique' property of the listbox helper which made duplicate values appear only once in listboxes. However this was not a particularly helpful option since it could be problematic when you have more than one entity using the same title.

See joomlatools/joomlatools-framework#17

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