Project

General

Profile

Feature #7273

Add pagination in courses catalog

Added by Yannick Warnier about 5 years ago. Updated almost 5 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
Global / Others / Misc
Target version:
Start date:
19/09/2014
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Challenging
SCRUM pts - complexity:
13

Description

In the courses catalog of Chamilo, add a pagination method so not all courses can be shown in one single page.
Make sure the categories and other filters still work with this pagination.


Files

Associated revisions

Revision 61f286a0 (diff)
Added by Daniel Barreto about 5 years ago

Add pagination to course session catalogue - refs #7273

Revision 22053961 (diff)
Added by Daniel Barreto about 5 years ago

Update Improve documentation, Delete unused function - refs #7273

Revision 1a0afd1d (diff)
Added by Daniel Barreto about 5 years ago

Update pagination design - refs #7273

Revision 2632e1db (diff)
Added by Yannick Warnier about 5 years ago

Temporarily remove courses catalog's random pick to avoid bug with pagination - refs #7273

Revision a68ad747 (diff)
Added by Yannick Warnier about 5 years ago

Fix query error in previous commit - refs #7273

Revision 60f3a81e (diff)
Added by Daniel Barreto almost 5 years ago

Fix random course catalog pagination - refs #7273

Revision 6372960c (diff)
Added by Daniel Barreto almost 5 years ago

Revert "Temporarily remove courses catalog's random pick to avoid bug with pagination - refs #7273"

This reverts commit 2632e1db4db46417a067d2ed7b8514a0e9e161c2.

Conflicts:
main/template/default/auth/courses_categories.php

Revision 29dd843b (diff)
Added by Daniel Barreto almost 5 years ago

Fix search course catalog pagination - refs #7273

History

#1

Updated by Yannick Warnier about 5 years ago

  • Complexity changed from Normal to Challenging
  • SCRUM pts - complexity changed from ? to 13
#2

Updated by Yannick Warnier about 5 years ago

  • Assignee changed from anibal copitan to Daniel Barreto
#3

Updated by Daniel Barreto about 5 years ago

  • % Done changed from 0 to 30
Things done:
  • Add pagination to course catalog (need to fix for search action)
Things to do:
  • Add pagination to session catalog (check tpl)
#4

Updated by Daniel Barreto about 5 years ago

  • % Done changed from 30 to 60

Pagination feature completede

Check PR#388

https://github.com/chamilo/chamilo-lms/pull/388

#5

Updated by Alex Aragon about 5 years ago

Adjunto la propuesta de wireframe para la paginación de catálogos de cursos, tiene relación con la tarea #7275 de Lista de sesiones

La idea es mostrar la lista en la forma tradicional, posteriormente se tendrá que mostrar con la mejora incluida.

#6

Updated by Daniel Barreto about 5 years ago

  • % Done changed from 60 to 70
Things done:
  • Improve documentation
  • Delete unused function
  • Update design (see mockup)

PR#388 has been updated

#7

Updated by Yannick Warnier about 5 years ago

  • % Done changed from 70 to 80

It works well (I'm merging the code) but, in the case of a "random pick" with 14 courses, I get 9 courses on the first page and 10 on page 2.
I'm removing the "Random pick" feature for now (see commit 2632e1d). Please review it and try to make sure that, in the case of a random pick, only 10 courses are picked, so we remove completely the pagination issue in this case.

#8

Updated by Daniel Barreto almost 5 years ago

Done:
  • Fix random and search actions
  • Enable random courses (Revert commit 2632e1d)

Send PR#390
https://github.com/chamilo/chamilo-lms/pull/390

#9

Updated by Yannick Warnier almost 5 years ago

  • Status changed from Assigned to Feature implemented
  • % Done changed from 80 to 100

Well done. Checked and approved. Merged and closing.

Also available in: Atom PDF