Skip to content
Snippets Groups Projects
  1. Jan 23, 2018
    • Jan Provaznik's avatar
      Use limit for search count queries · 090ca9c3
      Jan Provaznik authored
      Search query is especially slow if a user searches a generic string
      which matches many records, in such case search can take tens of
      seconds or time out. To speed up the search query, we search only for
      first 1000 records, if there is >1000 matching records we just display
      "1000+" instead of precise total count supposing that with such amount
      the exact count is not so important for the user.
      
      Because for issues even limited search was not fast enough, 2-phase
      approach is used for issues: first we use simpler/faster query to get
      all public issues, if this exceeds the limit, we just return the limit.
      If the amount of matching results is lower than limit, we re-run more
      complex search query (which includes also confidential issues).
      Re-running the complex query should be fast enough in such case because the
      amount of matching issues is lower than limit.
      
      Because exact total_count is now limited, this patch also switches to
      to "prev/next" pagination.
      
      Related #40540
      090ca9c3
  2. Dec 19, 2017
  3. Nov 20, 2017
  4. Sep 07, 2017
  5. Sep 06, 2017
  6. Aug 28, 2017
  7. Aug 02, 2017
  8. Jul 07, 2017
  9. Jul 05, 2017
  10. Jun 28, 2017
  11. Jun 21, 2017
  12. Jun 20, 2017
    • Toon Claes's avatar
      Use helper method to set filtered search input attributes · a8d4bf97
      Toon Claes authored
      The list of attributes for the filtered search input was getting long, so use a
      helper method to fill that hash.
      
      Also, for multiple issue assignees, a helper is more convenient because it would
      allow EE to override the behavior if MIA is supported.
      a8d4bf97
  13. May 29, 2017
  14. May 10, 2017
  15. Feb 23, 2017
  16. Feb 03, 2017
  17. Jan 30, 2017
  18. Jan 04, 2017
  19. Jan 03, 2017
  20. Nov 16, 2016
  21. Oct 07, 2016
  22. Sep 14, 2016
  23. Sep 07, 2016
  24. Aug 26, 2016
  25. Aug 06, 2016
  26. Jul 22, 2016
  27. Jul 14, 2016
  28. Jul 11, 2016
  29. Jul 01, 2016
  30. Jun 03, 2016
  31. May 13, 2016
  32. Apr 26, 2016
Loading