diff --git a/include/controllers/default/quick/home/index.php b/include/controllers/default/quick/home/index.php index 281484966..9ed44ef4b 100644 --- a/include/controllers/default/quick/home/index.php +++ b/include/controllers/default/quick/home/index.php @@ -25,7 +25,7 @@ class Controller_home extends Crunchbutton_Controller_Account { $justMineOrders = ( c::db()->escape( c::getPagePiece( 0 ) ) == 'mine' ); - $hours = c::getPagePiece( 1 ) ? c::getPagePiece( 1 ) : 24; + $hours = c::getPagePiece( 1 ) ? c::getPagePiece( 1 ) : 12; $orders = Order::deliveryOrders( $hours, ( c::db()->escape( c::getPagePiece( 0 ) ) == 'all' ) ); diff --git a/include/library/Crunchbutton/Order.php b/include/library/Crunchbutton/Order.php index 4f46cd878..2db2d636f 100644 --- a/include/library/Crunchbutton/Order.php +++ b/include/library/Crunchbutton/Order.php @@ -717,7 +717,7 @@ class Crunchbutton_Order extends Cana_Table { $where .= ' AND o.delivery_service = 1 '; $where .= ' AND date > DATE_SUB( NOW(), INTERVAL ' . $interval . ' )'; - $query = 'SELECT DISTINCT( o.id_order ) id, o.* FROM `order` o ' . $where . ' ORDER BY o.id_order DESC LIMIT 30'; + $query = 'SELECT DISTINCT( o.id_order ) id, o.* FROM `order` o ' . $where . ' ORDER BY o.id_order'; return Order::q( $query ); } diff --git a/include/views/default/quick/layout/html.phtml b/include/views/default/quick/layout/html.phtml index 1adc6eafc..e2b21d339 100644 --- a/include/views/default/quick/layout/html.phtml +++ b/include/views/default/quick/layout/html.phtml @@ -45,6 +45,13 @@ input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, font-size: 10px; } } + .show-more{ + font-size: 1.5em; + background: #F5F5F5; + } + .show-more a{ + text-decoration: none; + } .control { background-image: -moz-linear-gradient( 90deg, rgb(203,203,203) 0%, rgb(232,232,232) 100%); diff --git a/include/views/default/quick/order/index.phtml b/include/views/default/quick/order/index.phtml index cb4fe1907..ef2eec652 100644 --- a/include/views/default/quick/order/index.phtml +++ b/include/views/default/quick/order/index.phtml @@ -1,4 +1,4 @@ - +