Do not show draft entries in list view

This commit is contained in:
Stefan Ritt 2015-06-09 10:00:29 +02:00
parent 2eb0b5696d
commit 9040e4be41
2 changed files with 6 additions and 2 deletions

View File

@ -21398,6 +21398,10 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
&size, in_reply_to, reply_to, attachment, encoding, locked_by, draft); &size, in_reply_to, reply_to, attachment, encoding, locked_by, draft);
if (status != EL_SUCCESS) if (status != EL_SUCCESS)
break; break;
/* skip drafts */
if (draft && draft[0])
continue;
if (csv) { if (csv) {

View File

@ -7,7 +7,7 @@
<key>IDESourceControlProjectIdentifier</key> <key>IDESourceControlProjectIdentifier</key>
<string>81431534-03C4-4F18-8910-AA341A0BBED2</string> <string>81431534-03C4-4F18-8910-AA341A0BBED2</string>
<key>IDESourceControlProjectName</key> <key>IDESourceControlProjectName</key>
<string>project</string> <string>elogd</string>
<key>IDESourceControlProjectOriginsDictionary</key> <key>IDESourceControlProjectOriginsDictionary</key>
<dict> <dict>
<key>4A8AA611133AD3F7E07C7C33DCF50244FB7A1AB5</key> <key>4A8AA611133AD3F7E07C7C33DCF50244FB7A1AB5</key>
@ -16,7 +16,7 @@
<string>bitbucket.org:ritt/elog.git</string> <string>bitbucket.org:ritt/elog.git</string>
</dict> </dict>
<key>IDESourceControlProjectPath</key> <key>IDESourceControlProjectPath</key>
<string>xcode/elogd.xcodeproj/project.xcworkspace</string> <string>xcode/elogd.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key> <key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict> <dict>
<key>4A8AA611133AD3F7E07C7C33DCF50244FB7A1AB5</key> <key>4A8AA611133AD3F7E07C7C33DCF50244FB7A1AB5</key>