add a function in class Collection to get the first view in the collection
Bug #1866148 reported by
Cecilia Vela Gurovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
So far, every time we need the first view of a collection as a View object, we get the views from the collection, get the id of the first and then create the View object
one idea:
adjust the function views() from Collection class to fetch first view and update the places in mahara to use it, something like
$view = $collection-
or
$view = $collection-
description: | updated |
Changed in mahara: | |
milestone: | none → 20.04.0 |
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/10835