extended to include method getLearningLibraryDTO(List templateActivities), which is used in authoring environment when trying to retrieve the list of all learning library details. The template is passed as a parameter, because previously, when obtaining the list of template activities for a particular learning library, it grabs all activities in lams_learning_activities for that particular learning library, however each library should only have one template activity, and what distinguishes it from a normal activity is that its learning_design_id is null