You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Montalbano Florian (JIRA)" <ji...@apache.org> on 2016/06/17 09:21:05 UTC
[jira] [Comment Edited] (OFBIZ-7186) Find Facility Inventory Items
shows same 20 items on all pagination page.
[ https://issues.apache.org/jira/browse/OFBIZ-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335761#comment-15335761 ]
Montalbano Florian edited comment on OFBIZ-7186 at 6/17/16 9:20 AM:
--------------------------------------------------------------------
Hi,
I retried to solve this issue and I found a way to patch the problem. I'm attaching the file to this issue.
The problem was that the way to find the result is done manually in a groovy file (ViewFacilityInventoryByProduct.groovy). Thus, the case were only a partial list should appear was not considered.
I think this groovy file could use some refactoring. I don't understand very well all the requests done in this file, so this patch may seem quite ugly.
I think we can call the function "performFindList" at some point but I don't know how to pass the condition for the request.
For some reason, when you navigate on the different result page, the parameters of the request sent are 'VIEW_SIZE_1' and 'VIEW_INDEX_1'. Is this the normal behavior ?
The patch corrects the problem but I think it could be improved.
Any comment on this problem is welcomed !
Have a nice day.
was (Author: florian m):
Hi,
I retried to solve this issue and I found a way to patch the problem. I'm attaching the file to this issue.
The problem was that the way to find the result is done manually in a groovy file (ViewFacilityInventoryByProduct.groovy). Thus, the case were only a partial list should appears was not considered.
I think this groovy file could use some refactoring. I don't understand very well all the requests done in this file, so this patch may seems quite ugly.
I think we can call the function "performFindList" at some point but I don't know how to pass the condition for the request.
For some reason, when you navigate on the different result page, the request parameters sent are 'VIEW_SIZE_1' and 'VIEW_INDEX_1'. Is this the normal behavior ?
The patch corrects the problem but I think it could be improved.
Have a nice day.
> Find Facility Inventory Items shows same 20 items on all pagination page.
> -------------------------------------------------------------------------
>
> Key: OFBIZ-7186
> URL: https://issues.apache.org/jira/browse/OFBIZ-7186
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Reporter: Arvind Singh Tomar
> Priority: Critical
> Labels: facility, inventory
> Fix For: Trunk
>
> Attachments: OFBIZ-7186.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)