<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Sylfaen;
        panose-1:1 10 5 2 5 3 6 3 3 3;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Sylfaen",serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CA link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>Hello!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>We would like to hide a document type from the list of available types (checkboxes) that appear on a search page. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>Another option would be to group 2 item types under only one generic term, but only for the search page. Is that possible? We would prefer to keep them as separate types in the workflow.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>Looking at the code for our basic search page, I don’t seem to have much control over the output. Any idea?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'>$c->{search}->{simple} = {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> search_fields => [<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> </span><span style='font-family:"Courier New"'>{<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'> id => "q",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'> meta_fields => [<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'> "documents",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'> </span><span lang=EN-CA style='font-family:"Courier New"'>"title",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "abstract",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "creators_name",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "publication",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> ]<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> },<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> { meta_fields => [ "date" ] },<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> <span style='background:yellow;mso-highlight:yellow'>{ meta_fields => [ "type" ] },</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> { meta_fields => [ "divisions" ] },<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> ],<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> preamble_phrase => "cgi/search:preamble",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> title_phrase => "cgi/search:simple_search",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> citation => "result",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> page_size => 20,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> order_methods => {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "byyear" => "-date/creators_name/title",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "byyearoldest" => "date/creators_name/title",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "byname" => "creators_name/-date/title", <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> "bytitle" => "title/creators_name/-date"<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> },<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> default_order => "byyear",<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-CA style='font-family:"Courier New"'> show_zero_results => 1,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-family:"Courier New"'> </span><span style='font-family:"Courier New"'>}; </span><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'>Thanks!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Sylfaen",serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR-CA'><img width=173 height=82 id="_x0000_i1025" src="http://www.polymtl.ca/sc/img/logoType/logoseul/gauche/polytechnique_gauche_cmyk.jpg" alt="http://www.polymtl.ca/sc/img/logoType/logoseul/gauche/polytechnique_gauche_cmyk.jpg"></span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><b><span style='color:black;mso-fareast-language:FR-CA'>Robin Sylvestre</span></b><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Technicien en documentation</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Services techniques et systèmes informatisés</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Bibliothèque Louise-Lalonde-Lamarre</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>École Polytechnique de Montréal</span><span style='mso-fareast-language:FR-CA'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-fareast-language:FR-CA'>Tél.: 514-340-4711 poste 3743</span><o:p></o:p></p></div></body></html>