code: def update_filters(self, filters):
          
          new_filters = {}
          for (filter, values) in filters.items():
              new_values = []
              for value in values:
                  if isinstance(value, str):
                      new_values.append(value.strip("\n "))
                  else:
                      new_values.append(int(value))
              values = new_values
              if len(values) != 0 and values[0] != 0 and values[0] != '':
                  new_filters[filter] = values
  
          if new_filters != self.filters:
              self._filters = new_filters
              if self._created:
                  yield from self.update()
                  self._project.controller.notification.emit("link.updated", self.__json__())
                  self._project.dump()
docs: Modify the filters list.
  
          Filter with value 0 will be dropped because not active