From 44e66497c837e9218e9460873623495d1cf31bca Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Sat, 22 Nov 2008 22:59:56 +0000
Subject: Correcting bad join which caused payable batches not to show up in
 batch details

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2416 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/modules/test/Voucher.sql | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'sql/modules/test/Voucher.sql')

diff --git a/sql/modules/test/Voucher.sql b/sql/modules/test/Voucher.sql
index d749bf09..467d3d38 100644
--- a/sql/modules/test/Voucher.sql
+++ b/sql/modules/test/Voucher.sql
@@ -26,6 +26,9 @@ values (-5, currval('batch_id_seq'), 3);
 INSERT INTO voucher (trans_id, batch_id, batch_class)
 values (-5, currval('batch_id_seq'), 3);
 
+INSERT INTO test_result(test_name, success)
+select 'Voucher Seach finds Payable Vouchers',  count(*)=1 
+from voucher_list( currval('batch_id_seq')::int);
 
 INSERT INTO test_result (test_name, success)
 SELECT 'partial payment support', count(*) > 1 
-- 
cgit v1.2.3

m></td></tr>
<tr><td class='sub'>Unnamed repository; edit this file 'description' to name the repository.</td><td class='sub right'>Jonas Smedegaard</td></tr></table>
<table class='tabs'><tr><td>
<a href='/notmuch/?h=master'>summary</a><a href='/notmuch/refs/?h=master'>refs</a><a href='/notmuch/log/tags/90/7d/1447142653.26959.218.camel@orion1/inbox?h=master'>log</a><a href='/notmuch/tree/tags/90/7d/1447142653.26959.218.camel@orion1/inbox?h=master'>tree</a><a href='/notmuch/commit/tags/90/7d/1447142653.26959.218.camel@orion1/inbox?h=master'>commit</a><a class='active' href='/notmuch/diff/tags/90/7d/1447142653.26959.218.camel@orion1/inbox?h=master'>diff</a></td><td class='form'><form class='right' method='get' action='/notmuch/log/tags/90/7d/1447142653.26959.218.camel@orion1/inbox'>
<input type='hidden' name='h' value='master'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/notmuch/diff/?h=master'>root</a>/<a href='/notmuch/diff/tags?h=master'>tags</a>/<a href='/notmuch/diff/tags/90?h=master'>90</a>/<a href='/notmuch/diff/tags/90/7d?h=master'>7d</a>/<a href='/notmuch/diff/tags/90/7d/1447142653.26959.218.camel@orion1?h=master'>1447142653.26959.218.camel@orion1</a>/<a href='/notmuch/diff/tags/90/7d/1447142653.26959.218.camel@orion1/inbox?h=master'>inbox</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='master'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/notmuch/diff/?h=master'>Diffstat</a> (limited to 'tags/90/7d/1447142653.26959.218.camel@orion1/inbox')</div><table summary='diffstat' class='diffstat'><tr><td class='mode'>-rw-r--r--</td><td class='add'><a href='/notmuch/diff/tags/90/7d/1447142653.26959.218.camel@orion1/inbox?h=master'>tags/90/7d/1447142653.26959.218.camel@orion1/inbox</a></td><td class='right'>0</td><td class='graph'><table summary='file diffstat' width='0%'><tr><td class='add' style='width: -nan%;'/><td class='rem' style='width: -nan%;'/><td class='none' style='width: -nan%;'/></tr></table></td></tr>
</table><div class='diffstat-summary'>1 files changed, 0 insertions, 0 deletions</div><table summary='diff' class='diff'><tr><td>