msramalho / SigTools

📆 Sigarra Tools | An extension that makes the information system of the University of Porto slightly better.
https://chrome.google.com/webstore/detail/sigarra-to-calendar/piefgbacnljenipiifjopkfifeljjkme
Apache License 2.0
37 stars 0 forks source link

sigarra statistics not showing if our name is different from the one on the grade sheet #60

Closed mehr-licht closed 5 years ago

mehr-licht commented 5 years ago

If our 'autenticacao-nome' is different from the one that appears on the grade sheet, if we edit our public name to display only two names instead of the whole name, SigTools can't find us on the grade sheet and don't display any statistics regarding our grade. All Sigarra pages displays a thumbnail of our photo at the top and its url has our student code in it:

<img src="fotografias_service.foto_thumb?pct_cod=201607946" class="autenticacao-foto">

If you could change the way it gets our grade to find by our student code instead of full name (or student code if there is no match with the full name), the problem should be solved.

msramalho commented 5 years ago

Great catch @mehr-licht, it's one of those things we would hardly come across. We will fix this for the following release, thanks!