Questions and Answers on Offers

Details of modifications which users can incorporate within Enuuk Auction Platform free of charge
Post Reply
RWAP
Site Admin
Posts: 748
Joined: Fri Jan 08, 2010 2:23 am
Location: Stoke-on-Trent
Contact:

Questions and Answers on Offers

Post by RWAP » Tue Sep 24, 2013 1:41 pm

There is a small change needed to ensure that the questions and answers for each item are listed by date order (with the latest question listed at the top).

In class\Action\Offer.php, find:

Code: Select all

        $data['questions']      = OffersQuestion::getListFromDB($this->db, 'where offerId='.$id);
Change this to:

Code: Select all

        $data['questions']      = OffersQuestion::getListFromDB($this->db, 'where offerId='.$id.' order by date desc');

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest