OpenUserJS.org icon indicating copy to clipboard operation
OpenUserJS.org copied to clipboard

Refactor search to not reuse a common identifier

Open Martii opened this issue 11 years ago • 0 comments

This is the (logic) bug right here: https://github.com/OpenUserJs/OpenUserJS.org/blob/d37ad3f1664274d26d8b9b6c04e096bbc1cbbf0e/libs/modelQuery.js#L189

We're reusing the same array for every request. We need to copy (probably deepcopy) the default arrays instead of reusing it.

(slightly journalistic modified and to point to the correct referenced line Zren mentioned at the latest HEAD)

Back ref:

  • #491
  • #489
  • #181

Martii avatar Dec 09 '14 00:12 Martii