Closed angeanto closed 6 years ago
https://github.com/differentreality/supplies_tracker/blob/2e6be1b051d2b8b51b8dade41445645ee59d382b/supplies_tracker/views.py#L216
name contains always fridge as a result to display this word for a storage even if i search a word like : bag , desk etc etc I think it doesn't work as we expect . It returns all storages every time for every keyword even if keyword doesnt exist
Oops needs to be search_keyword instead Good catch :+1:
It returns all storages every time for every keyword even if keyword doesnt exist
Fixed in #49
https://github.com/differentreality/supplies_tracker/blob/2e6be1b051d2b8b51b8dade41445645ee59d382b/supplies_tracker/views.py#L216
name contains always fridge as a result to display this word for a storage even if i search a word like : bag , desk etc etc I think it doesn't work as we expect . It returns all storages every time for every keyword even if keyword doesnt exist