Merge lp://qastaging/~sam92/openlp/bug-1552563 into lp://qastaging/openlp

Proposed by Samuel Mehrbrodt
Status: Superseded
Proposed branch: lp://qastaging/~sam92/openlp/bug-1552563
Merge into: lp://qastaging/openlp
Diff against target: 144 lines (+39/-37)
3 files modified
openlp/plugins/songs/lib/mediaitem.py (+10/-12)
tests/functional/openlp_plugins/songs/test_mediaitem.py (+29/-24)
tests/functional/openlp_plugins/songs/test_openlpimporter.py (+0/-1)
To merge this branch: bzr merge lp://qastaging/~sam92/openlp/bug-1552563
Reviewer Review Type Date Requested Status
OpenLP Core Pending
Review via email: mp+293424@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2016-04-29.

Description of the change

Fix performance regression with Songbook search

The problem was that in each iteration the database was accessed (the song object).
Fixed this by loading all neccessary information directly in the query.

To post a comment you must log in.
2659. By Samuel Mehrbrodt

PEP8

Revision history for this message
Samuel Mehrbrodt (sam92) wrote :

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.