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

Commit

Permalink
The kunya should be displayed before the name #428
Browse files Browse the repository at this point in the history
  • Loading branch information
ragaeeb committed Jul 6, 2015
1 parent dfa0f8a commit 2ad6bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueryHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define CHAPTER_KEY "chapter"
#define FROM_VERSE_KEY "fromVerse"
#define TO_VERSE_KEY "toVerse"
#define NAME_FIELD(var) QString("coalesce(%1.displayName, TRIM((coalesce(%1.prefix,'') || ' ' || %1.name || ' ' || coalesce(%1.kunya,''))))").arg(var)
#define NAME_FIELD(var) QString("coalesce(%1.displayName, replace( TRIM( coalesce(%1.kunya,'') || ' ' || (coalesce(%1.prefix,'') || ' ' || %1.name) ) ), ' ', ' ' )").arg(var)

namespace canadainc {
class Persistance;
Expand Down

0 comments on commit 2ad6bbc

Please sign in to comment.