[jira] [Updated] (OFBIZ-7186) Find Facility Inventory Items shows same 20 items on all pagination page.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7186) Find Facility Inventory Items shows same 20 items on all pagination page.

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Montalbano Florian updated OFBIZ-7186:
--------------------------------------
    Attachment: OFBIZ-7186.patch

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)