Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a template function to sort alums #18

Open
rachitnigam opened this issue May 18, 2023 · 0 comments
Open

Use a template function to sort alums #18

rachitnigam opened this issue May 18, 2023 · 0 comments

Comments

@rachitnigam
Copy link
Member

The current alum sorting logic is a bit weird and relies on an unnecessary sort field which defines the degree with which an alum graduated. There, the order in the file determines how people are printed out on the webpage and is currently sorted by year.

A better solution would be to use a custom function which is passed into the template and used directly. That way, we could get rid of the sort field and automatically sort by degree & year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant