Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

joomla artio
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: joomla artio

joomla artio 11 years, 10 months ago #36651

In frontend joomla web site module, show booking list and filter by date query is wrong

For example

SELECT `reservation`.*, `editorUser`.`name` as `editor`, `customer`.`checked_out` AS `customerCheckedOut`,SUM(`items`.`fullPriceSupplements`) AS `reservationFullPrice`, SUM(`items`.`fullDeposit`) AS `reservationFullDeposit`, SUM(`items`.`capacity`) AS `fullCapacity`
FROM `nsc18_booking_reservation` AS `reservation`
LEFT JOIN `nsc18_users` AS `editorUser`
ON `editorUser`.`id` = `reservation`.`checked_out`
LEFT JOIN `nsc18_booking_customer` AS `customer`
ON `customer`.`id` = `reservation`.`customer`
LEFT JOIN `nsc18_booking_reservation_items` AS `items`
ON `items`.`reservation_id` = `reservation`.`id`
WHERE `
from` >= '2013-01-16 09:38:00'
AND `to` <= '2013-01-16 09:38:00'
AND `reservation`.`state` IN ('1','0','-1')
AND `paid` IN ('0','1','2')
GROUP BY `reservation`.`id`
ORDER BY `
from` asc


Should be
from` >= '2013-01-16 00:00:00'
AND `to` <= '2013-01-16 23:59:59
The topic has been locked.

Re: joomla artio 11 years, 10 months ago #36726

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

you mean booking search module?
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty