diff options
author | Saketh1499 | 2021-10-18 15:26:19 +0530 |
---|---|---|
committer | Saketh1499 | 2021-10-18 15:26:19 +0530 |
commit | 022ccda60b3716816fc37b3b8f7a2246dc616225 (patch) | |
tree | 52f6aa72e16139683ee7d4e1a3d726f6ecae0e57 /fellowship_testimonials.module | |
parent | 91945e289f8f9fb7c96024d048c7a713612da327 (diff) | |
download | fellowship_testimonials-022ccda60b3716816fc37b3b8f7a2246dc616225.tar.gz fellowship_testimonials-022ccda60b3716816fc37b3b8f7a2246dc616225.tar.bz2 fellowship_testimonials-022ccda60b3716816fc37b3b8f7a2246dc616225.zip |
Updating the interface
Diffstat (limited to 'fellowship_testimonials.module')
-rwxr-xr-x | fellowship_testimonials.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fellowship_testimonials.module b/fellowship_testimonials.module index ea3b9a2..284d442 100755 --- a/fellowship_testimonials.module +++ b/fellowship_testimonials.module @@ -70,7 +70,7 @@ $result = pager_query($query, 4, 0, "SELECT COUNT(*) FROM fellowship_testimonials");*/ $query = db_select('fellowship_testimonials'); $query->fields('fellowship_testimonials'); - $query->condition('hide', '0'); + $query->condition('hidden', '0'); $query->condition('testimonial_type', 'V'); $query->orderBy('year', 'DESC'); //$result = $query->extend('PagerDefault')->limit(3)->execute(); @@ -110,7 +110,7 @@ $result = pager_query($query, 4, 0, "SELECT COUNT(*) FROM fellowship_testimonials");*/ $query = db_select('fellowship_testimonials'); $query->fields('fellowship_testimonials'); - $query->condition('hide', '0'); + $query->condition('hidden', '0'); $query->condition('testimonial_type', 'T'); $query->orderBy('year', 'DESC'); //$result = $query->extend('PagerDefault')->limit(3)->execute(); |