Prestashop: Date is not correctly displayed on orders page

Created on 23 Mar 2020  路  9Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

In orders page , the order date is not correctly displayed when side menu is displayed

Expected behavior

The date should be correctly displayed

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to BO => Sell => Orders => Orders
  2. See error

Screenshots
Side menu displayed
capture d'茅cran_4

*Side menu not displayed
capture d'茅cran_5
*

Additional information

  • PrestaShop version: develop
  • PHP version: 7.2
1.7.7.x BO Bug Fixed Front-end Order PR available Regression Trivial migration

All 9 comments

Ping @PrestaShop/prestashop-product-team this issue should be fixed in the 1.7.7.0, is it?

Thanks!

As it's a regression of the 1.7.7, yes

@SD1982 @khouloudbelguith @marionf I'm not sure we can do something about that. It's not really when the side menu is displayed, it's related to the screen size. On a big screen you can have the side menu open and the date being display on only 1 line :

Capture d鈥檈虂cran 2020-03-25 a虁 14 18 38

Maybe @NeOMakinG has an idea to fix that ?
Or do you confirm that we can't fix that ?

Maybe @NeOMakinG has an idea to fix that ?
Or do you confirm that we can't fix that ?

The standard solution for this kind of problem is to define a minimum length for the column.
When the screen is too small, then the page will grow larger than the screen and you'll need to scroll horizontally.

I dont know if this is something we want 馃

@prestascott has been working on this topic

@prestascott @NeOMakinG I made a little PR that overrides the break-word only for date time columns https://github.com/PrestaShop/PrestaShop/pull/18373
Do you think it's an acceptable solution? It shouldn't change dramatically the grid display since only date time columns are impacted (and they can still break between the date and the time)

Capture d鈥檈虂cran 2020-03-30 a虁 17 58 36

That right @jolelievre, I wouldn't have done something else to be honest

That right @jolelievre, I wouldn't have done something else to be honest

That means a lot to me! 馃ズ

Fixed by #18373

Was this page helpful?
0 / 5 - 0 ratings