Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Filtering patient listing is slow #123

Merged
merged 2 commits into from
May 11, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Undo comments in upgrade step 1.2.0
  • Loading branch information
xispa committed May 11, 2019
commit 87e24318785ab0c9c0b8dde0110bc3bd9fa2f00c
22 changes: 11 additions & 11 deletions bika/health/upgrade/v01_02_000.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def upgrade(tool):
version))

# -------- ADD YOUR STUFF BELOW --------
#setup.runImportStepFromProfile(profile, "browserlayer")
#setup.runImportStepFromProfile(profile, "typeinfo")
#setup.runImportStepFromProfile(profile, "skins")
setup.runImportStepFromProfile(profile, "browserlayer")
setup.runImportStepFromProfile(profile, "typeinfo")
setup.runImportStepFromProfile(profile, "skins")

# Setup catalogs
setup_catalogs(CATALOGS_BY_TYPE, INDEXES, COLUMNS)
Expand All @@ -95,28 +95,28 @@ def upgrade(tool):
remove_indexes_and_metadata()

# Setup permissions
#setup_roles_permissions(portal)
setup_roles_permissions(portal)

# Setup ID Formatting
#setup_id_formatting(portal)
setup_id_formatting(portal)

# Add "Patients" and "Doctors" action views in Client type
#setup_content_actions(portal)
setup_content_actions(portal)

# Remove "Samples" action views from Doctors and Patients
#remove_sample_actions(portal)
remove_sample_actions(portal)

# Setup "Owner" roles for patients to client contacts
#setup_patients_ownership(portal)
setup_patients_ownership(portal)

# Setup "Owner" roles for batches to client contacts
#setup_batches_ownership(portal)
setup_batches_ownership(portal)

# Update workflows
#update_workflows(portal)
update_workflows(portal)

# remove stale CSS
#remove_stale_css(portal)
remove_stale_css(portal)

logger.info("{0} upgraded to version {1}".format(PROJECTNAME, version))
return True
Expand Down