[
https://issues.apache.org/jira/browse/OFBIZ-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anahita Goljahani updated OFBIZ-5324:
-------------------------------------
Attachment: FindProductBom_code_simplication.patch
Hi Jacques,
thank you! To be honest, I added an OrderBy argument at the end just to ease results scanning. I replaced find with findList since I thought the problem was
in managing pagination when EntityListIterator objects were involved. Glad to see that creating a potentially big list was not necessary at all.
By the way, just for seek of tidiness :-), I attached another patch that removes redundant code in FindProductBom.groovy, without changing its behavior.
Kind regards
Anahita
> Overview of Bills of Material doesn't paginate
> ----------------------------------------------
>
> Key: OFBIZ-5324
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5324> Project: OFBiz
> Issue Type: Bug
> Components: manufacturing
> Affects Versions: SVN trunk
> Reporter: Pierre Smits
> Assignee: Jacques Le Roux
> Attachments: FindProductBom_code_simplication.patch, ofbiz_5324.patch, test-data_bom-pagination.txt
>
>
> When having more than 20 BoM's in Manufacturing the overview doesn't paginate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira