Skip to content

Commit 1520813

Browse files
committed
PCBC-532: Properly set inclusive_start for DateRange query
Change-Id: I6fa1a5ae23eb7fe8f0288d3eb6e53c784a0c924e Reviewed-on: http://review.couchbase.org/90669 Tested-by: Build Bot <[email protected]> Reviewed-by: Sergey Avseyev <[email protected]>
1 parent a00733d commit 1520813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/couchbase/search/date_range_query.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ PHP_METHOD(DateRangeSearchQuery, start)
142142
}
143143

144144
obj = Z_DATE_RANGE_SEARCH_QUERY_OBJ_P(getThis());
145-
obj->inclusive_end = inclusive;
145+
obj->inclusive_start = inclusive;
146146
switch (Z_TYPE_P(start)) {
147147
case IS_STRING:
148148
obj->start = estrndup(Z_STRVAL_P(start), Z_STRLEN_P(start));

0 commit comments

Comments
 (0)