mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Mobile/filter: add marker between entries in full text search
Otherwise we could match the end of one string and the beginning of the next, so having a buddy name Linus and a dive master named Alvin would be matched by USA. Also add Notes to the full text search (I had forgotten those earlier). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									90d321f0ff
								
							
						
					
					
						commit
						2fe1750bf8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -438,5 +438,5 @@ QStringList DiveObjectHelper::firstGas() const | ||||||
| // for a full text search / filter function
 | // for a full text search / filter function
 | ||||||
| QString DiveObjectHelper::fullText() const | QString DiveObjectHelper::fullText() const | ||||||
| { | { | ||||||
| 	return trip() + location() + buddy() + divemaster() + suit() + tags(); | 	return trip() + ":-:" + location() + ":-:" + buddy() + ":-:" + divemaster() + ":-:" + suit() + ":-:" + tags() + ":-:" + notes(); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue