8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 20:03:11 +00:00

Search in switch.location replaced by switch.switchbay.building.name

This commit is contained in:
Maël Kervella 2018-04-10 12:58:52 +00:00
parent 33a75494e4
commit 4d9f707c58

View file

@ -281,7 +281,7 @@ def search_single_word(word, filters, user,
) | Q( ) | Q(
interface__ipv4__ipv4__icontains=word interface__ipv4__ipv4__icontains=word
) | Q( ) | Q(
location__icontains=word switchbay__building__name__icontains=word
) | Q( ) | Q(
stack__name__icontains=word stack__name__icontains=word
) | Q( ) | Q(