Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Issue #50: Sort careers page by year #54

merged 1 commit into from

1 participant

Kyle Rogers
Kyle Rogers

No description provided.

Kyle Rogers rogerskw merged commit df26943 into from
Kyle Rogers rogerskw deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 8, 2014
  1. Kyle Rogers
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 4 deletions.
  1. +2 −4 info/
6 info/
@@ -83,9 +83,7 @@ def general_listing(request, isAlumniFilter, isPledgeFilter, name):
def resumes(request):
year =
- years = []
- for i in xrange(5):
- years.append(year+i)
+ years = range(year, year+5)
grad_year_requests = request.GET.getlist('gradyear')
major_requests = request.GET.getlist('major')
grad_year_reqs = Q()
@@ -101,7 +99,7 @@ def resumes(request):
return HttpResponse(t.render(c))
def careers(request):
- jobs = Job.objects.all()
+ jobs = Job.objects.all().order_by('-year')
return render(request, 'careers.html', {'jobs': jobs})
def convert_brothers_to_brotherentities(broList):
Something went wrong with that request. Please try again.