From ec5d45c245eac748d161624940dc8911407d20bc Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 23 May 2019 23:52:37 +0800 Subject: [PATCH] =?UTF-8?q?PayPal=20webhook=E7=BC=BA=E5=B0=91=E4=BB=98?= =?UTF-8?q?=E6=AC=BE=E4=BA=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/models/note_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webht/third_party/paypal/models/note_model.php b/webht/third_party/paypal/models/note_model.php index 0cd9ecd4..b0ff2400 100644 --- a/webht/third_party/paypal/models/note_model.php +++ b/webht/third_party/paypal/models/note_model.php @@ -24,7 +24,8 @@ class Note_model extends CI_Model { $this->search = false; $this->pn_payment_status = false; $this->pn_txn_id = false; - $this->orderby = ' ORDER BY pn.pn_sn DESC '; + // $this->orderby = ' ORDER BY pn.pn_sn DESC '; + $this->orderby = ' ORDER BY pn_payment_date asc,pn_payer desc '; //$this->pn_payment_status=' AND pn_payment_status= '; }