Moodle

Export selected Glossary entries to file ***patch provided***

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3
  • Fix Version/s: None
  • Component/s: Glossary
  • Labels:

Description

In a glossary, it is possible to display a selection of articles belonging to a category; or in alphabetic order by selecting all articles beginning by one letter; or using the Search or Search full text facility.

Then, from the display screen, one can click on the Printer icon to print the selected articles.

One would expect the same to be true for the Export entries facility. Unfortunately, whichever selected articles are displayed on the Glossary page, Export entries will always export ALL entries from the current Glossary!

I am attaching PATCH files against current version 1.8.3 for mod/glossary export.php, exportfile.php, lib.php and view.php. These patches enable the user to do all kind of selection of articles and to export to file only those articles which have been selected and are displayed.

It goes even further than the Print facility, as articles selected and displayed through either the Search or Search full text facility can be exported to file.

This new facility can be tested on my moodle test site: http://rezeau.info/moodle. Log in as teacher1, password teacher1, go to the Questionnaire module Demo course and experiment with My Test Glossary.

If there is enough interest in this little hack I hope the Glossary maintainer will accept to commit it to current Glossary files in moodle regular distribution.

Joseph

PS- Attached zip file contains both complete hacked files and patches.

Activity

Hide
Frank Ralf added a comment -

I have tried the new feature on http://rezeau.info/moodle/mod/glossary/view.php?id=5&mode=cat, but couldn't get it to work.

I filtered the entries by category, but my exported XML files always contain all of the glossary's entries.

Frank

Show
Frank Ralf added a comment - I have tried the new feature on http://rezeau.info/moodle/mod/glossary/view.php?id=5&mode=cat, but couldn't get it to work. I filtered the entries by category, but my exported XML files always contain all of the glossary's entries. Frank
Hide
Joseph Rézeau added a comment -

Hi Frank,
You are right, I have updated my moodle test site to 1.9 but not the little Glossary hack.
I was hoping that this hack would make its way to regular moodle distribution but apparently it has not.
Petr, can you do something about this?
thanks
Joseph

Show
Joseph Rézeau added a comment - Hi Frank, You are right, I have updated my moodle test site to 1.9 but not the little Glossary hack. I was hoping that this hack would make its way to regular moodle distribution but apparently it has not. Petr, can you do something about this? thanks Joseph
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (13)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: