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