aimeos / ai-admin-jqadm

Aimeos e-commerce Vue.js+Bootstrap based admin interface
https://aimeos.org
GNU Lesser General Public License v3.0
176 stars 43 forks source link

Copied product ctime sort #225

Closed exemplari closed 2 years ago

exemplari commented 2 years ago

Environment

  1. Version (e.g. 2017.10) "aimeos/aimeos-laravel": "2021.10.*",
  2. Integration (Laravel, TYPO3, Symfony, SlimPHP or Flow)
  3. System (Linux, Mac, Windows)

Describe the bug Products do not sort by created time when created via the copy product button.

To Reproduce Steps to reproduce the behavior: Click the copy button and save a new product. image

Expected behavior I expect the copied new product to have a created time of Now.

Screenshots The newly copied product has the same created time as the old product.

image

In my particular case this becomes noticeable when trying to sort products by created time via the json frontend.

aimeos commented 2 years ago

Thanks for the hint! The ctime field is not copied any more after this commit: https://github.com/aimeos/ai-admin-jqadm/commit/34f3318ed210352d88e20c0591e816d5201bab49

You can test the new version executing:

composer req aimeos/ai-admin-jqadm:2021.10.x-dev
exemplari commented 2 years ago

Thank!