osclass / Osclass

With Osclass, get your own classifieds site for free. Build your own Osclass installation and start advertising real estate, jobs or whatever you want- in minutes!
http://osclass.org/
648 stars 344 forks source link

Item Resources order sometimes have a problem! #2273

Open kirtaph opened 6 years ago

kirtaph commented 6 years ago

I solve this problem editing the file oc-includes/osclass/model/ItemResource.php adding after line 103 the following instruction:

$this->dao->orderBy('pk_i_id', 'ASC');

Please implement solution in the next release.

garciademarina commented 6 years ago

Where exactly do you have issues?

Let us know how we can reproduce your issue.

kirtaph commented 6 years ago

When upload images on Item Post they saved in the database with reverse order, so the main image is differently from the image that user chose.

I try this fix and work 😉

Cordiali Saluti Il 12 lug 2018, 12:32 +0200, Carlos notifications@github.com, ha scritto:

Where exactly do you have issues? Let us know how we can reproduce your issue. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.