fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11189] booking: fix sorting


From: Sigurd Nes
Subject: [Fmsystem-commits] [11189] booking: fix sorting
Date: Tue, 18 Jun 2013 11:40:09 +0000

Revision: 11189
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11189
Author:   sigurdne
Date:     2013-06-18 11:40:09 +0000 (Tue, 18 Jun 2013)
Log Message:
-----------
booking: fix sorting

Modified Paths:
--------------
    trunk/booking/inc/class.uicompleted_reservation.inc.php

Modified: trunk/booking/inc/class.uicompleted_reservation.inc.php
===================================================================
--- trunk/booking/inc/class.uicompleted_reservation.inc.php     2013-06-18 
11:39:50 UTC (rev 11188)
+++ trunk/booking/inc/class.uicompleted_reservation.inc.php     2013-06-18 
11:40:09 UTC (rev 11189)
@@ -169,7 +169,7 @@
                                                        'label' => lang('Event 
id'),
                                                ),
                                                array(
-                                                       'key' => 
'event_description',
+                                                       'key' => 'description',
                                                        'label' => 
lang('Description'),
                                                ),
                                                array(
@@ -328,7 +328,7 @@
                                        $this->db->limit_query($sql, 0, 
__LINE__, __FILE__, 1);
                                        $this->db->next_record();
                                        $reservation['event_id'] = 
$reservation['reservation_id'];
-                                       $reservation['event_description'] = 
$this->db->f('description', false);
+                                       $reservation['description'] = 
$this->db->f('description', false);
                                        $reservation['contact_name'] = 
$this->db->f('contact_name', false);
 
                                } elseif 
($reservation['reservation_type']['label'] == 'Booking') {
@@ -344,7 +344,7 @@
                                                $reservation['contact_name'] = 
$this->db->f('contact_name', false);
                                        }
                                        $reservation['event_id'] = '';
-                                       $reservation['event_description'] = '';
+                                       $reservation['description'] = '';
                                } else {
                                        $sql = "select  application_id from 
bb_allocation where id=".$reservation['reservation_id'];
                                        $this->db->limit_query($sql, 0, 
__LINE__, __FILE__, 1);
@@ -358,7 +358,7 @@
                                                $reservation['contact_name'] = 
$this->db->f('contact_name', false);
                                        }
                                        $reservation['event_id'] = '';
-                                       $reservation['event_description'] = '';
+                                       $reservation['description'] = '';
                                }
                                $reservation['from_'] = 
substr($reservation['from_'], 0, -3);
                                $reservation['to_'] = 
substr($reservation['to_'], 0, -3);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]