Closed gregelin closed 3 years ago
Describe the issue as a Story Selecting drop down list of controls for adding a component control statement is very slow. Needs to be speed up
To Reproduce Steps to reproduce the behavior:
Code
original:
url(r'^api/controlsselect/', views.api_controls_select, name="api_controls_select"),
possible revision
url(r'^api/controlsselect/control/(?P<cl_id>.*)', views.api_controls_select, name="api_controls_select"),
controls/views.py
def api_controls_select
Instead of getting entire controls from all catalogs, get just the related controls by searching all catalogs.
Being addressed in #1672
Closed with merger of #1672 and #1681 and #1687.
Describe the issue as a Story Selecting drop down list of controls for adding a component control statement is very slow. Needs to be speed up
To Reproduce Steps to reproduce the behavior:
Code
original:
possible revision
controls/views.py
Instead of getting entire controls from all catalogs, get just the related controls by searching all catalogs.