X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/206d6cd5f26a563166199329735818db9345828b..de32d0c699858b1502f5f1e793174db8b56f9c1b:/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