preserve sorting of info window

Description

when action make grid of info window refresh current sorting column should preserve,

also page contain current selected record should active

that feature sponsor by

Environment

None

Activity

Show:
Norbert Bede
April 30, 2019, 8:03 AM

latest patch tested. works. n

Hiep Lq
April 21, 2019, 1:06 PM

please get fixed from patch

Carlos Ruiz
April 9, 2019, 9:47 AM

, I was able to reproduce it in GardenWorld with this info column for the "Order Info" window:

You can create packing in the attached

, and then test case:

  • Log into GardenWorld

  • Open "Order Info" and select all records (4 records are shown with Ages 5638 to 6255)

  • Click on the Age column to force sorting by Age

  • fill Business Partner parameter field with "C&W Construction"

  • click Requery button

  • nothing is shown

console shows (spanish error means "age column doesn't exist"):

Hiep Lq
April 8, 2019, 11:41 PM

can't reproduce

1. infowindow "Business Partner Info"
2. add display logic "1=2" to name column
3. test function sort => nothing happen

please provide your test case

Norbert Bede
April 3, 2019, 6:52 AM

we found a bug: when info window has column, this column has display logic, then info window remember not visible column sorting. then generates invalid sql.

instead: display logic must remove preserve sorting. if the column is not included in new column layout

note: in our case column was virtual eg. we calculate order age: date_part('day',now()-a.DateOrdered) column name=Age.

Fixed

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

Tested By

None

Priority

Major