1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 11:39:03 +01:00
phorge-phorge/src/applications/paste/query
epriestley b0862a8176 Filter pastes at the query level if we're unable to load their content
Summary:
Fixes T8230. I think I broke this in D12354 since I missed the fact that this could filter results, because it's constructed in a sort of weird way. Try to make the logic a little more clear, while retaining the relevant properties:

  - Pastes with unloadable content should be discarded;
  - the input order should be retained in the result set.

Test Plan: Faked content misses and saw things work instead of fatal.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8230

Differential Revision: https://secure.phabricator.com/D12909
2015-05-18 13:57:20 -07:00
..
PhabricatorPasteQuery.php Filter pastes at the query level if we're unable to load their content 2015-05-18 13:57:20 -07:00
PhabricatorPasteSearchEngine.php Convert all tokenizers to take token/scalar inputs 2015-03-31 14:10:55 -07:00
PhabricatorPasteTransactionQuery.php Remove @group annotations 2014-07-10 08:12:48 +10:00