[buddypress-trac] [BuddyPress Trac] #5858: blog directory search returns incorrect result count

buddypress-trac noreply at wordpress.org
Fri Jan 9 16:06:51 UTC 2015


#5858: blog directory search returns incorrect result count
--------------------------+---------------------------
 Reporter:  jreeve        |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.2
Component:  Blogs         |     Version:  1.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9328"]:
 {{{
 #!CommitTicketReference repository="" revision="9328"
 Search consistently against blog title and description in
 `BP_Blogs_Blog::get()`.

 Previously, the description field was only being matched for the 'total'
 query,
 with the result that pagination and other count-based results did not
 match the
 blogs actually returned by the query.

 This changeset reworks the syntax a bit, to avoid the duplicated logic
 when
 using search terms, and to use proper JOIN syntax instead of commas.

 Props jreeve.
 Fixes #5858.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5858#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list