Projekt

Allgemein

Profil

GX-Task #59480

Von Till Tepelmann vor mehr als 3 Jahren aktualisiert

Code für neue Artikel auf Startseite in der Datei /system/classes/listing/NewProductsMainContentView.inc.php an src/system/classes/listing/SpecialsMainContentView.inc.php angleichen. 

 Aktuell ist der Code nicht einheitlich um auf die selben Funktionen zurückzugreifen. Die Klasse und Funktionen sollten in beiden Fällen gleich sein, nur das DatenbankModell oder RepositoryReader muss getauscht werden, damit der selbe Code nur mit anderen Daten aus der Datenbank läuft. Mach das auch einfacher zu testen. 

 Wahrscheinlich erst möglich, wenn wir einen neuen FrontEnd Core haben, der dafür ausgelegt ist. 
 ------ 

 Align code for new products on start page in file /system/classes/listing/NewProductsMainContentView.inc.php with src/system/classes/listing/SpecialsMainContentView.inc.php 

 Currently the code is not uniform to access the same functions. The class and functions should be the same in both cases, only the database model or repository reader has to be swapped, so that the same code only runs with other data from the database. Make this easier to test too. 

 Probably not possible until we have a new FrontEnd Core that is designed for this.

Zurück