mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile/filtering: add fullTextNoNotes to the dive object helper
This way we can filter with and without the notes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c0540d7682
commit
40536286d2
2 changed files with 8 additions and 1 deletions
|
@ -438,5 +438,10 @@ QStringList DiveObjectHelper::firstGas() const
|
|||
// for a full text search / filter function
|
||||
QString DiveObjectHelper::fullText() const
|
||||
{
|
||||
return trip() + ":-:" + location() + ":-:" + buddy() + ":-:" + divemaster() + ":-:" + suit() + ":-:" + tags() + ":-:" + notes();
|
||||
return fullTextNoNotes() + ":-:" + notes();
|
||||
}
|
||||
|
||||
QString DiveObjectHelper::fullTextNoNotes() const
|
||||
{
|
||||
return trip() + ":-:" + location() + ":-:" + buddy() + ":-:" + divemaster() + ":-:" + suit() + ":-:" + tags();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue