Skip to content

Loading…

Issue #41: Fix bug #42

Merged
merged 1 commit into from

1 participant

@rogerskw

Fixed issue #41 where brothers were listed as undecided engineering

@rogerskw rogerskw merged commit 6e822ac into v1.0.0
@rogerskw rogerskw deleted the iss41 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 2 additions and 2 deletions.
  1. +2 −2 info/templates/brothers_list.html
View
4 info/templates/brothers_list.html
@@ -27,9 +27,9 @@ <h1 class="page-header">Meet the Brothers <small>{{ brotherType }}</small></h1>
</div>
<h3><a href="/info/brother/{{ bro_entity.brother.id }}">{{ bro_entity.brother.firstName }} {{ bro_entity.brother.lastName }}</a></h3>
<p>Pledge Class: {{ bro_entity.brother.pledgeClass.name }}</p>
- {% if bro_entity.majors %}
+ {% if bro_entity.brother.majors.all %}
- {% for major in bro_entity.majors %}
+ {% for major in bro_entity.brother.majors.all %}
<div>{{ major.majorName }}&#x0020; </div>
{% endfor %}
Something went wrong with that request. Please try again.