Moodle

Add ability to create custom sort formats for the glossary

Details

  • Type: New Feature New Feature
  • Status: Development in progress Development in progress
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.6
  • Fix Version/s: None
  • Component/s: Glossary
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_16_STABLE

Description

It would be extremely useful if teachers had the ability to change the sort order of categories and actual glossary entries to something other than alphabetical.

Why?

Imagine I want to create a glossary of Egyptian kings. I want to divide them up into categories by the time period in which they ruled, and sort the individual kings by the order in which they ruled.

Now, let's just take the first four time periods to see the problem:

1-Predynastic

2-Early Dynastic

3-Old Kingdom

4-First Intermediate Period

Obviously, if you sort these alphabetically they will be out of order. Same thing would happen with the king's names in the glossary.

Activity

Hide
Martin Dougiamas added a comment -

From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 9 November 2004, 02:56 AM:

And what about using some numerical prefixes (like your example)? It can be done, but not simply!

From non non (nbhansen at midway.uchicago.edu) Tuesday, 9 November 2004, 12:26 PM:

I do know that in an Access database at least, such a thing is not that hard. I do it all the time at my work. In the table that contains the list of items, one creates an additional field that contains numbers and then one sorts by those numbers. This field is then hidden in form view from the user, so they just see the custom sort order. In Access at least, one can add additional items in the middle of the list, simply by adding a decimal number. So if you have items 1-10, and you want to add something later after item 8, you just give it the number 8.1, and then it sorts properly, after item 8.

From Chardelle Busch (chardelle at lifeworkouts.com) Monday, 7 November 2005, 11:23 AM:

I' adding to this my comments from a post:

I was wondering if anyone has any ideas about how to use the Browse by Alphabet when it doesn't make sense--for example, with an FAQ, all of the entries begin with I (I need to....) or H (How do I....). This looks rather silly and doesn't add any value to the glossary. There is no option to get rid of the Browse by Alphabet tab (although I could comment it out in tabs.html).

From Samuli Karevaara (samuli.karevaara at lamk.fi) Thursday, 10 November 2005, 03:22 AM:

As a workaround you could add the number in front of the item names, then the alphabetical ordering would be what you make it to be. I use this often with file names to get them to be in a custom order. Not the prettiest solution, but works.

From non non (nbhansen at midway.uchicago.edu) Thursday, 13 April 2006, 07:41 AM:

I had an idea about this-why not allow the teacher to move the categories for a glossary up and down on the list so as to produce something other than alphabetical order?

Show
Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 9 November 2004, 02:56 AM: And what about using some numerical prefixes (like your example)? It can be done, but not simply! From non non (nbhansen at midway.uchicago.edu) Tuesday, 9 November 2004, 12:26 PM: I do know that in an Access database at least, such a thing is not that hard. I do it all the time at my work. In the table that contains the list of items, one creates an additional field that contains numbers and then one sorts by those numbers. This field is then hidden in form view from the user, so they just see the custom sort order. In Access at least, one can add additional items in the middle of the list, simply by adding a decimal number. So if you have items 1-10, and you want to add something later after item 8, you just give it the number 8.1, and then it sorts properly, after item 8. From Chardelle Busch (chardelle at lifeworkouts.com) Monday, 7 November 2005, 11:23 AM: I' adding to this my comments from a post: I was wondering if anyone has any ideas about how to use the Browse by Alphabet when it doesn't make sense--for example, with an FAQ, all of the entries begin with I (I need to....) or H (How do I....). This looks rather silly and doesn't add any value to the glossary. There is no option to get rid of the Browse by Alphabet tab (although I could comment it out in tabs.html). From Samuli Karevaara (samuli.karevaara at lamk.fi) Thursday, 10 November 2005, 03:22 AM: As a workaround you could add the number in front of the item names, then the alphabetical ordering would be what you make it to be. I use this often with file names to get them to be in a custom order. Not the prettiest solution, but works. From non non (nbhansen at midway.uchicago.edu) Thursday, 13 April 2006, 07:41 AM: I had an idea about this-why not allow the teacher to move the categories for a glossary up and down on the list so as to produce something other than alphabetical order?

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: