in facetapi.callbacks.inc file facetapi_get_min_date and facetapi_get_max_date function use two SQL request without {}

the request should be writing :
$query = "SELECT MIN(%s) as min FROM {node} n WHERE n.status = 1"; (line 110)
$query = "SELECT MAX(%s) as max FROM {node} n WHERE n.status = 1";(line 127)

CommentFileSizeAuthor
#2 Prefix_db_tables-1870126-2.patch908 bytesvoidberg

Comments

cpliakas’s picture

Not good! Thanks for picking this up.

Chris

voidberg’s picture

Status: Active » Needs review
StatusFileSize
new908 bytes

Attaching a patch.

cpliakas’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me!

voidberg’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.