Bug 25467 - Improve performance of ViewPolicy filter
Summary: Improve performance of ViewPolicy filter
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 14:06 UTC by Nick Clemens (kidclamp)
Modified: 2024-01-02 12:35 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 25467: Build and cache hidden fields and use them for filtering (5.40 KB, patch)
2020-05-12 14:06 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2020-05-12 14:06:01 UTC
Rather than looping through every field of every record, it might be better to determine which fields must be hidden, then deal only with those?
Comment 1 Nick Clemens (kidclamp) 2020-05-12 14:06:46 UTC
Created attachment 104788 [details] [review]
Bug 25467: Build and cache hidden fields and use them for filtering
Comment 2 Katrin Fischer 2024-01-01 10:20:24 UTC
Should this have been "Needs Sign-off"?
Comment 3 Nick Clemens (kidclamp) 2024-01-02 12:34:46 UTC
(In reply to Katrin Fischer from comment #2)
> Should this have been "Needs Sign-off"?

I think it re
Comment 4 Nick Clemens (kidclamp) 2024-01-02 12:35:22 UTC
I think it requires unit tests, I have no idea if this code is still relevant