Changeset 419


Ignore:
Timestamp:
07/10/06 22:45:17 (13 years ago)
Author:
jukka
Message:

Fixed #493, spent 10min. Searchs from members' pages are limited to other member pages, but modifying searches to require exact matches is a bit much now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/member_view.pt

    r371 r419  
    155155                <span tal:condition="python: location_country and location_country!='No country specified'" tal:omit-tag=""> 
    156156                    <p i18n:translate="label_country">Country: 
    157                         <a href="#" tal:attributes="href string:$here_url/search?SearchableText=${location_country}" tal:content="location_country">Country</a> 
     157                        <a href="#" tal:attributes="href string:$here_url/search?SearchableText=${location_country}&portal_type=MemberFolder" tal:content="location_country">Country</a> 
    158158                    </p> 
    159159                </span> 
     
    161161                <span tal:condition="location_area" tal:omit-tag=""> 
    162162                    <p i18n:translate="label_area">Area: 
    163                         <a href="#" tal:attributes="href string:$here_url/search?SearchableText=${location_area}" tal:content="location_area">Area</a> 
     163                        <a href="#" tal:attributes="href string:$here_url/search?SearchableText=${location_area}&portal_type=MemberFolder" tal:content="location_area">Area</a> 
    164164                    </p> 
    165165                </span> 
     
    168168                    <p i18:translate="label_language_skills">Preferred languages: 
    169169                        <span tal:repeat="languagename language_skills" tal:omit-tag=""> 
    170                            <a href="#" tal:attributes="href string:$here_url/search?getLanguage_skills=${languagename}" tal:content="python:here.script_getPrettyLanguage(languagename)">Language</a> 
     170                           <a href="#" tal:attributes="href string:$here_url/search?getLanguage_skills=${languagename}&portal_type=MemberFolder" tal:content="python:here.script_getPrettyLanguage(languagename)">Language</a> 
    171171                           <span tal:condition="not: repeat/languagename/end" tal:omit-tag="">, </span>  
    172172                        </span> 
     
    177177                    <p i18:translate="label_skills">Skills: 
    178178                        <span tal:repeat="skill skills" tal:omit-tag=""> 
    179                            <a href="#" tal:attributes="href string:$here_url/search?getTags=${skill}" tal:content="skill">Skills</a> 
     179                           <a href="#" tal:attributes="href string:$here_url/search?getTags=${skill}&portal_type=MemberFolder" tal:content="skill">Skills</a> 
    180180                           <span tal:condition="not: repeat/skill/end" tal:omit-tag="">, </span>  
    181181                        </span> 
     
    186186                    <p i18:translate="label_interests">Interests: 
    187187                        <span tal:repeat="interest interests" tal:omit-tag=""> 
    188                            <a href="#" tal:attributes="href string:$here_url/search?getTags=${interest}" tal:content="interest">Skills</a> 
     188                           <a href="#" tal:attributes="href string:$here_url/search?getTags=${interest}&portal_type=MemberFolder" tal:content="interest">Skills</a> 
    189189                           <span tal:condition="not: repeat/interest/end" tal:omit-tag="">, </span>  
    190190                        </span> 
Note: See TracChangeset for help on using the changeset viewer.