- $qry .= ' GROUP BY notice.id,notice.profile_id,notice.content,notice.uri,' .
- 'notice.rendered,notice.url,notice.created,notice.modified,' .
- 'notice.reply_to,notice.is_local,notice.source,notice.conversation, ' .
- 'notice.lat,notice.lon,location_id,location_ns' .
- ' ORDER BY weight DESC';
-
- $offset = 0;
- $limit = NOTICES_PER_SECTION + 1;
-
- $qry .= ' LIMIT ' . $limit . ' OFFSET ' . $offset;
-
- $notice = Memcached_DataObject::cachedQuery('Notice',
- $qry,
- 1200);
- return $notice;