PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/views/rooms/view.html.php +1 -1 1.6.8 → 1.8.16 View file →
@@ -57,9 +57,9 @@
57 57 $lim0 = VikRequest::getVar('limitstart', 0, '', 'int');
58 58 $session = JFactory::getSession();
59 59 $pvborderby = VikRequest::getString('vborderby', '', 'request');
60 60 $pvbordersort = VikRequest::getString('vbordersort', '', 'request');
61 - $validorderby = array('name', 'toadult', 'tochild', 'totpeople', 'units');
61 + $validorderby = array('name', 'toadult', 'tochild', 'totpeople', 'units', 'avail');
62 62 $orderby = $session->get('vbViewRoomsOrderby', 'name');
63 63 $ordersort = $session->get('vbViewRoomsOrdersort', 'ASC');
64 64 if (!empty($pvborderby) && in_array($pvborderby, $validorderby)) {
65 65 $orderby = $pvborderby;