1. 13 Oct, 2020 6 commits
    • Jérome Perrin's avatar
      content_translation: Also index translations from message catalogs · badf8b0a
      Jérome Perrin authored
      Now that we are able to search using content translation, we also want
      to extend this so that columns like "group__title" can be searchable in listboxs,
      but categories are usually translated with `erp5_content`, which was not indexed
      in content_translation table.
      
      Extend content translation indexing to also support translations coming from
      Localizer catalog make this possible.
      
      The only limitation I could think of is that categories will need to be reindexed
      when the messages are modified in catalog.
      badf8b0a
    • Jérome Perrin's avatar
      ERP5Catalog/content_translation: support translated related keys · 502eb899
      Jérome Perrin authored
      Translated properties are indexed in content translation table,
      so nothing prevent us from using them in related keys. Since in
      many places we show to user translated titles in relations, it
      makes sense to also support searching and sorting in catalog.
      
      This extends related keys syntax only for the newest syntax, so
      related keys like `source__translated__title=X` would allow searching
      for document who have a source relation to a document with title X.
      
      Since any properties can be translated, if for example a property
      `foo` would exist and be translatable, it would be possible to search
      using `source__translated__foo=X`
      
      This is only available when content_translation business template
      is installed.
      502eb899
    • Jérome Perrin's avatar
      test_result: fix "Retry Count" being acquired on test result line · 7a3141b2
      Jérome Perrin authored
      At the end of test result, we calculate the sum of test result line
      retries and set it as a property on test result. Listbox will then
      show for each test result line the number of retries. Problem is
      that we did not set retry count property on test result lines which
      were not retried, so they acquired this from the parent test result.
      
      To prevent this, always set a retry count property on test result
      and set it to 0 when they are not retried.
      7a3141b2
    • Jérome Perrin's avatar
      abade4ee
    • Jérome Perrin's avatar
      testERP5Catalog: test new related key syntaxes · 91286e10
      Jérome Perrin authored
      In 4bcf5c6a (CatalogTool: Introduce new dynamic related key syntax, 2017-07-25)
      we introduced a new syntax to solve some ambiguities in the previous syntax, but
      the test suite was still testing the old syntax only.
      
      Update tests to test the new syntax and to also check the old legacy syntax.
      91286e10
    • Jérome Perrin's avatar
      testERP5Catalog: fix outdated docstring · c9976c8b
      Jérome Perrin authored
      c9976c8b
  2. 12 Oct, 2020 1 commit
  3. 08 Oct, 2020 1 commit
  4. 05 Oct, 2020 9 commits
  5. 01 Oct, 2020 3 commits
  6. 30 Sep, 2020 9 commits
  7. 29 Sep, 2020 11 commits