jhauserw3241 / cdcdb-webserver

Python3/Flask web server for DB final project
https://cdcdb.system33.pw
1 stars 1 forks source link

Can't see people/show.html if person has 2+ positions #18

Closed pastly closed 7 years ago

pastly commented 7 years ago

It's because __db_get_person checks that only one row is returned, but two are.

Very related: #14

pastly commented 7 years ago

This can be/will eventually be fixed when the people views are used. __db_get_person (or its replacement) should only query the people table. To get the other information on a person (student status, position, etc.), the views should be used.

pastly commented 7 years ago

No longer a thing in 9ab77e081