Closed (works as designed)
Project:
Rooms node
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 May 2014 at 03:01 UTC
Updated:
20 Apr 2015 at 11:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
-enzo- commentedAttached you can find my proposal for the reported error
Comment #2
ziomizar commentedHi -enzo-,
Tnx for the patch, this section of the rooms_node needs some review, i think that is better define an hook_views_data for mapping {rooms_availability_index} table, then working only on views.
The original ideia of this query was:
- select all nodes booked, or unavailable in a dates range
- exclude this node from the query
Your solution seems to doing only:
- exclude all nodes in selected range
But all nodes have a value in selected range, with a status 0,1,32,ecc..
So all nodes in this range are excluded from search result..
Can you include more information on the error, or can you explain me how your code improve the search?
Comment #3
ziomizar commented