[Zope-dev] Catalog uniqueValuesFor

Jason Spisak webmaster@mtear.com
Tue, 20 Jul 1999 14:34:21 -0800


Michel,

The uniqueValuesFor in a select box is giving me just the first letter
of the indexed values. Can you recreate this?
For example:

     <SELECT NAME="company_city" size="5" MULTIPLE>
	<!--#in expr="Catalog.uniqueValuesFor('company_city')"-->
 	  <OPTION VALUE="<!--#var sequence-key-->">
        <!--#var sequence-key-->
       </OPTION>
	<!--#endin-->
      </SELECT>

gives me:

     <SELECT NAME="company_city" size="5" MULTIPLE>
	 	  <OPTION VALUE="">
        
       </OPTION>
	 	  <OPTION VALUE="L">
        L
       </OPTION>
	      </SELECT>

I only have one object with the copany_city indexed right now and it's
properties shows the full name "Los Angeles".  I'll submit this to the
collector if you can reproduce it.

Best wishes,

Jason Spisak
webmaster@mtear.com