SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.94k stars 1.23k forks source link

P13n sorting sequence is incorrect #3983

Closed swayongshen closed 6 months ago

swayongshen commented 6 months ago

OpenUI5 version: 1.120.5

Browser/version (+device/version): Chrome MacOS

URL (minimal example if possible): https://sapui5.hana.ondemand.com/1.120.5/#/entity/sap.m.p13n.Engine/sample/sap.m.sample.p13n.Engine/code

Steps to reproduce the problem:

  1. Go to the sample page listed above.
  2. Set sorted by 'First name', press 'OK'
  3. Add sorted by 'City', press 'OK',
  4. Add sorted by 'Last name', press 'OK'
  5. View the sort dialog, its an incorrect sequence.

What is the expected result? The sort sequence should be

  1. First name
  2. City
  3. Last name

What happens instead? The sort sequence becomes

  1. First name
  2. Last name
  3. City

Any other information? (attach screenshot if possible)

image
tsanislavgatev commented 6 months ago

Hello @swayongshen ,

I am not able to reproduce the described issue. After adding the sort criterias one by one, I get the correct order in the dialog, which is First Name - City - Last Name.

Can you please test it on your end? I've tested it 5-6 times with refresh and cache clean and I was still unable to reproduce it.

swayongshen commented 6 months ago

Thank you, @tsanislavgatev somehow I cannot replicate the issue anymore, will close.