Commit 1b323dd
committed
Merge #258: Fixes [257] unnecessary repetitive requests using the search bar
8cc222e fix: [257] unnecessary repetitive requests using the search bar (MMelchor)
Pull request description:
Fixes #257
Assigning the search query value to the variable used to fetch the searched torrents is now done through the onActivated hook, avoiding triggering the watchers, and thus, not making another unnecessary fetch request to the back-end, getting the torrents only once.
ACKs for top commit:
josecelano:
ACK 8cc222e
Tree-SHA512: ed1770d4f138c00e07dcd9a56792efa2de48ef4c4ab489b8f7e565b346153157465136e3c1542118513e529ba13b29e2c2a1c1fda07cc202107a4adf273d2e0c1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
0 commit comments