Hi,

I'm using hobo 2.0.1 with rails 3.2.21 on ruby 1.9.3.

I've been working with the <name-one> tag which is pretty cool, but I'm 
only able to display 8 rows of results. I can change the limit on 
hobo_completions and using charles to observe the traffic, I see that the 
response is including the number I set. But the list in the browser display 
stops at 8. I've inspected the resulting <ul> element and it only contains 
the 8 rows.

Any idea of how I can get it to display all the results?

Thanks for you help!

Paul

>From my controller:

autocomplete :item_code do
    hobo_completions :item_code, Item.user_where(current_user), {limit: 30}
end


>From the resulting page:

 <ul class="typeahead dropdown-menu" style="top: 306.267px; left: 170px; 
display: none;">
<li data-value="NW12CSVPSTPCSCRARCIPR - 2012 Cabernet Sauvignon" 
class=""><a href="#"><strong>NW</strong>12CSVPSTPCSCRARCIPR - 2012 Cabernet 
Sauvignon</a></li>
<li data-value="NW12MLOPSTPCSCRARCIPR - 2012 Merlot"><a 
href="#"><strong>NW</strong>12MLOPSTPCSCRARCIPR - 2012 Merlot</a></li>
<li data-value="NW12PSYPSTPCSCRARCIPR - 2012 Petite Sirah"><a 
href="#"><strong>NW</strong>12PSYPSTPCSCRARCIPR - 2012 Petite Sirah</a></li>
<li data-value="NW12SYRPSTPCSCRARCIPR - 2012 Syrah" class="active"><a 
href="#"><strong>NW</strong>12SYRPSTPCSCRARCIPR - 2012 Syrah</a></li>
<li data-value="NW13BDZPSB14B59BRPSIPR - 2013 BD Zinfandel "><a 
href="#"><strong>NW</strong>13BDZPSB14B59BRPSIPR - 2013 BD Zinfandel 
</a></li>
<li data-value="NW13JBZPSB14B59BRPSIPR - 2013 JB Zinfandel"><a 
href="#"><strong>NW</strong>13JBZPSB14B59BRPSIPR - 2013 JB 
Zinfandel</a></li>
<li data-value="NW13MLOPSB14B59BRPSIPR - 2013 Merlot"><a 
href="#"><strong>NW</strong>13MLOPSB14B59BRPSIPR - 2013 Merlot</a></li>
<li data-value="NW13PSYPSB14B59BRPSIPR - 2013 Petite Sirah"><a 
href="#"><strong>NW</strong>13PSYPSB14B59BRPSIPR - 2013 Petite 
Sirah</a></li>
</ul>


Charles showed the server response as:

["NW12CSVPSTPCSCRARCIPR - 2012 Cabernet Sauvignon", 
"NW12MLOPSTPCSCRARCIPR - 2012 Merlot", 
"NW12PSYPSTPCSCRARCIPR - 2012 Petite Sirah", 
"NW12SYRPSTPCSCRARCIPR - 2012 Syrah", 
"NW13BDZPSB14B59BRPSIPR - 2013 BD Zinfandel ", 
"NW13JBZPSB14B59BRPSIPR - 2013 JB Zinfandel", 
"NW13MLOPSB14B59BRPSIPR - 2013 Merlot", 
"NW13PSYPSB14B59BRPSIPR - 2013 Petite Sirah", 
"NW07YAHPSB21CSCRPSIPR - 2007 Yahoosh", 
"NW08TREPSB21CSCRPSIPR - 2008 Trembler", 
"NW10CSRPSB14CSCRPSIPR - 2010 Cabernet Sauvignon Reserve", 
"NW11CSOPSB14CSCRPSIPR - 2011 Cabernet Sauvignon Old Block", 
"NW11MLOPSB14CSCRPSIPR - 2011 Merlot", 
"NW11MERPSB14CSCRPSIPR - 2011 Meritage", 
"NW11PSYPSB14CSCRPSIPR - 2011 Petite Sirah", 
"NW11CSRPSB14CSCRPSIPR - 2011 Cabernet Sauvignon Reserve", 
"NW11SYRPSB14CSCRPSIPR - 2011 Syrah", 
"NW12MLOPSB14CSCRPSIPR - 2012 Merlot", 
"NW12MERPSB14CSCRPSIPR - 2012 Meritage", 
"NW12CSOPSB14CSCRPSIPR - 2012 Cabernet Sauvignon Old Block", 
"NW12PSYPSB14CSCRPSIPR - 2012 Petite Sirah", 
"NW12SYRPSB14CSCRPSIPR - 2012 Syrah", 
"NW13MBLPSB14CSCRPSIPR - 2013 Muscat Blanca", 
"NW13RSEPSB14CSCRPSIPR - 2013 Rose", 
"NW12MLOPSTPPCSCRARCIPR - 2012 Merlot", 
"NW12MLOFFB21B60BRFFIPR - 2012 Merlot", 
"NW13CSVFFB21B60BRFFIPR - 2013 Cabernet Sauvignon", 
"NW13RCSFFB21B60BRFFIPR - 2013 Ruby Cabernet Sauvignon", 
"NW13SYRFFB21B60BRFFIPR - 2013 Syrah", 
"NW13ZINFFB21B60BRFFIPR - 2013 Zinfandel"] 

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to