Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Mejorar buscador #10

Closed
2 of 3 tasks
PabloCastellano opened this issue Apr 7, 2015 · 2 comments
Closed
2 of 3 tasks

Mejorar buscador #10

PabloCastellano opened this issue Apr 7, 2015 · 2 comments

Comments

@PabloCastellano
Copy link
Owner

  • Ahora mismo buscar "Fulanito Pérez" no encuentra nada, habría que buscar "Pérez Fulanito"
  • Sugerencias de nombres (ajax)
  • Tildes (Gómez)
@PabloCastellano
Copy link
Owner Author

Tildes:

Quick fix (LBSearchForm):

def clean_q(self):
    # remove accents
    data = self.cleaned_data['q']
    return ''.join((c for c in unicodedata.normalize('NFKD', data) if unicodedata.category(c) != 'Mn'))

@PabloCastellano
Copy link
Owner Author

Cierro y abro #29 para las sugerencias de nombres

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant