1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src
epriestley 23a202866a When running a fulltext query with no query, enforce order by document creation date
Summary:
Fixes T11929. When running with a query, we no longer enforce an order on the subquery join to produce results more quickly when searching for common strings.

However, this means that empty queries (like those issued by "Close as Duplicate") don't order subquery results.

Restore a `dateCreated` order if there is no query text.

Test Plan: Artificially set limit to 10, still saw 10 most recent tasks.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11929

Differential Revision: https://secure.phabricator.com/D16960
2016-11-29 12:14:57 -08:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Clean up another insufficiently-general exception 2016-11-23 10:41:19 -08:00
applications When running a fulltext query with no query, enforce order by document creation date 2016-11-29 12:14:57 -08:00
docs Allow persistent connections to be configured per database host 2016-11-22 10:55:45 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Fix two errors from the error logs 2016-11-26 07:50:57 -08:00
view Use proper file icons in lightbox 2016-11-28 11:30:19 -08:00
__phutil_library_init__.php
__phutil_library_map__.php Prettier file embeds 2016-11-27 14:57:06 -08:00