Projet

Général

Profil

Development #40035

rendu pour la recherche, passer par la méthode is_user_dependant

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
19 février 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

render_for_search fait un accès direct à self.user_dependant alors qu'il y a une méthode is_user_dependant(). (alternativement on pourrait se dire qu'une classe qui voudrait n'aurait qu'à créer user_dependant comme property, et dégager is_user_dependant) (mais non).


Fichiers

Révisions associées

Révision 2f19eb1b (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

misc: don't use direct attribute access in search rendering (#40035)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 4 ans

#2

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 5e1b222e911aceb01ce49613b624df3b44a35b7b
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Wed Feb 19 16:26:57 2020 +0100

    fargo: don't render anything for search index (#40032)
#4

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF