summaryrefslogtreecommitdiff
path: root/fellowship_testimonials.module
diff options
context:
space:
mode:
authorSaketh14992021-10-18 15:26:19 +0530
committerSaketh14992021-10-18 15:26:19 +0530
commit022ccda60b3716816fc37b3b8f7a2246dc616225 (patch)
tree52f6aa72e16139683ee7d4e1a3d726f6ecae0e57 /fellowship_testimonials.module
parent91945e289f8f9fb7c96024d048c7a713612da327 (diff)
downloadfellowship_testimonials-022ccda60b3716816fc37b3b8f7a2246dc616225.tar.gz
fellowship_testimonials-022ccda60b3716816fc37b3b8f7a2246dc616225.tar.bz2
fellowship_testimonials-022ccda60b3716816fc37b3b8f7a2246dc616225.zip
Updating the interface
Diffstat (limited to 'fellowship_testimonials.module')
-rwxr-xr-xfellowship_testimonials.module4
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();