-rw-r--r-- | core/pim/addressbook/TODO | 9 | ||||
-rw-r--r-- | core/pim/addressbook/abview.cpp | 9 |
2 files changed, 13 insertions, 5 deletions
diff --git a/core/pim/addressbook/TODO b/core/pim/addressbook/TODO index df55b2d..1eb537f 100644 --- a/core/pim/addressbook/TODO +++ b/core/pim/addressbook/TODO @@ -17,6 +17,2 @@ Known Bugs: ----------- -- Language not English (tested with german opie-translation): - 1. Configure nicht übersetzt (alles leer). - 2. Contacteditor nur teilweise übersetzt. - 3. Kategorie-Picker geht nicht. @@ -38,2 +34,3 @@ ContactEditor: ( Temporarily workaround: Category is never deactivated.. :S ) + - Personal and Business Web-page is not editable @@ -109 +106,5 @@ Fixed: - Add a dialog to accept and optionally edit received contacts by IRDA. +- Language not English (tested with german opie-translation): + 1. Configure nicht übersetzt (alles leer). + 2. Contacteditor nur teilweise übersetzt. + 3. Kategorie-Picker geht nicht. diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp index 161b163..93e57ca 100644 --- a/core/pim/addressbook/abview.cpp +++ b/core/pim/addressbook/abview.cpp @@ -155,2 +155,3 @@ void AbView::load() if ( m_inPersonal ) + // VCard Backend does not sort.. m_list = m_contactdb->allRecords(); @@ -227,4 +228,10 @@ void AbView::setShowByLetter( char c ) }else{ + // If the current Backend is unable to solve the query, we will + // ignore the request .. + if ( ! m_contactdb->hasQuerySettings( OContactAccess::WildCards | OContactAccess::IgnoreCase ) ){ + return; + } + query.setLastName( QString("%1*").arg(c) ); - m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards ); + m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards | OContactAccess::IgnoreCase ); clearForCategory(); |