Bruce, how did you use template tag "satchmo_category_search_form"?

I wrote support for displaying searched keywords back in the search
textbox. I changed both "satchmo_category_search_form" and
"satchmo_search_form" template tags.
The tag satchmo_category_search_form is nowhere used nor is it
mentioned in the documentation. I made them fully interchangable now
without need of explicite "category" parameter. I get category from
request context. I did it more complicated to maintain compatibility
with any existing application. I think you have used it just you. Is
it compatible with you?
Look at my changeset 
https://bitbucket.org/hynekcer/satchmo-outgoing/changeset/71eb5eadf988

Josh, your last notice about Mezzanine helped me.
Listbox for limiting the search to one selected category is nice and
easy to use
by satchmo_category_search_form.

On 10 led, 22:25, Josh Cartmell <[email protected]> wrote:
> Srry I didn't notice your other question earlier.  From what I can tell
> Mezzanine does this by adding:
> value="{{ request.REQUEST.keywords }}"
> to the keywords input in the mezzanine equivalent of _search.html.
> In Satchmo I would think this would mean simply updating:
>
> <input type="text" size="19" name="keywords" id="search_keywords" />
>
> in _search.html
> to:
>
> <input type="text" size="19" name="keywords" id="search_keywords"
> value="{{ request.REQUEST.keywords }}" />
>
> But that isn't working for me.  I might be missing something but
> hopefully that gives you a start.  let me know if you figure it out!
>
> -Josh

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to