← Back to team overview

openlp-core team mailing list archive

[Bug 1695587] Re: Entire Song doesn't search Song Number

 

The actual code to search in "Entire Song" does only do a indirect
database call over the plugin manager to search for a match in either of
song.search_title, song.search_lyrics and song.comments. That's not
searching in all possible attributes but only in three (admittedly the
main ones).

I adapted the database call to be a little more direct and to search for
a match in the songbooks name, the SongBookEntry (being the songs
number) and the alternate_title as well. Only three lines of code have
been adapted to seven.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1695587

Title:
  Entire Song doesn't search Song Number

Status in OpenLP:
  In Progress

Bug description:
  Related: Bug #1000729

  When searching in "Entire Song" the field "Song Number" isn't
  searched.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1695587/+subscriptions


References