X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/206d6cd5f26a563166199329735818db9345828b..c1e4fa5ac89e79733430a4adf9758d64c86037c7:/sercom/subcontrollers/alumno/__init__.py diff --git a/sercom/subcontrollers/alumno/__init__.py b/sercom/subcontrollers/alumno/__init__.py index 3d2c11a..155c781 100644 --- a/sercom/subcontrollers/alumno/__init__.py +++ b/sercom/subcontrollers/alumno/__init__.py @@ -182,7 +182,7 @@ class AlumnoController(controllers.Controller, identity.SecureResource): alumno = Alumno.byPadron(padron=padron) msg = {} msg['id'] = alumno.id - msg['value'] = alumno.nombre + msg['value'] = alumno.shortrepr() except SQLObjectNotFound: msg = 'No existe el alumno con padron: %s.' % padron error=True