← Back to team overview

mahara-contributors team mailing list archive

[Bug 1476496] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4997
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/c2a427e209d67f2cc15024d84680a73b89d7382c
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    master

commit c2a427e209d67f2cc15024d84680a73b89d7382c
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Mon Jul 13 16:17:35 2015 +1200

Support for collections & views in View::view_search()

Bug 1476496: Adds a new argument that makes View::view_search()
return a combined list of collections & "solo views" that don't
belong to any collection.

behatnotneeded: Covered by existing tests

Change-Id: Iceba8f9606fc1c537880ad8c3eabadd1e9f7da8c

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1476496

Title:
  Make View::view_search() supported combined listing of pages &
  collections

Status in Mahara:
  In Progress

Bug description:
  To support Bug 1476491, Bug 1476492, and Bug 1476495, we need to make
  View::view_search() return a combined list of views & collections, as
  if they were equivalent entities.

  To achieve this, I plan to add YET ANOTHER argument to
  View::view_search().

  In the longer run, we should probably put some serious thought into
  refactoring this method.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1476496/+subscriptions


References