[ic] about more_list

grace interchange-users@interchange.redhat.com
Mon Apr 15 02:34:01 2002


 [query sql="select  t1.order_number,t1.code,t1.username,t1.order_date,t1.chan_order_id,sku,t1.description,t1.price,t1.quantity,t1.subtotal,t2.status,t2.payment_method as payment_method,t2.paid as paid,t2.comments from orderline as t1 left join transactions as t2 on t2.order_number=t1.order_number where t1.sku like '[cgi vender_prefix]%' [scratch archive_subwhere] order by t1.code desc"
	type=list
	more=1
	ml=__UI_SZ_LIST_ORDER__]
	[list]
....	
	<td>[sql-param order_date]</td>
		<td>[sql-param price]</td>
		<td>[sql-param quantity]</td>
....
	[/list]
	[more_list]
[msg arg.0="[matches]" arg.1="[value mv_search_match_count]"]Orders %s of %s [/msg] [L]More orders[/L]: [decade-next][/decade-next] [more] [decade-prev][/decade-prev]
	[/more_list]
[/query]

Above is my code just like order.html, but I'm wonder why [value mv_search_match_count] is always return 4, like "Orders 1-50 of 4 ". But if i click next page,then the display is correct:  "Orders 1-50 of 144 " . I don't know what's wrong with me? Can anybody help me?

Thanks,
Grace