πŸ‡ΊπŸ‡ΈUnited States @cskeers

Account created on 10 July 2020, over 4 years ago
#

Merge Requests

Recent comments

πŸ‡ΊπŸ‡ΈUnited States cskeers

One issue is that multiple workflows may have the same `id` for different `labels`. For instance, one workflow may have the `published` id under the `Published` label, while a separate workflow has the `published` id under the `Approved` label. In the current code, only the last workflow label will be visible on the form.

πŸ‡ΊπŸ‡ΈUnited States cskeers

cskeers β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States cskeers

cskeers β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States cskeers

cskeers β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States cskeers

As is, the code

    $cache_key = 'search_results:' . md5(serialize($results));
    if ($cache = $this->cacheManager->get($cache_key)) {
      return $cache->data;
    }

caches the full results set as part of the key, meaning the entire search process needs to run prior to fetching this cached data.

The cache check/retrieval/set should likely surround the call to search_fields in searchButton and be keyed to the search parameters in order to bypass the full search process if cached data is present.

Additionally, we'll need to at least have a configurable option to cache or not, and ideally, options to set number of cached entries and/or cache duration. These latter can be incremental improvements, but there needs to be the option to disable caching at the least.

πŸ‡ΊπŸ‡ΈUnited States cskeers

cskeers β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States cskeers

This has been updated, and the current methodology is through config (as well as an "allow all" option).

Production build 0.71.5 2024