<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";
        mso-fareast-language:FR-CA;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:1674526399;
        mso-list-type:hybrid;
        mso-list-template-ids:-428336312 1724423894 202113049 202113051 202113039 202113049 202113051 202113039 202113049 202113051;}
@list l0:level1
        {mso-level-text:%1-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:45.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:81.0pt;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:117.0pt;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:153.0pt;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:189.0pt;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:225.0pt;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:261.0pt;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:297.0pt;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:333.0pt;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-CA">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">The code section below (from views.pl) has been used for a while to disclose our organization structure (please, see capture 1).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">However, as you can see on this capture, I am no longer interested in having such a presentation.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Here is why :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> Let’s consider the number of documents shown on the top level, that is
<b>Liste des centres</b> (203);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> Now, adding the counts (number of documents) of the second levels (subjects) leads<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span>to 203 ( Centre Eau Terre Environnement (186) + Centre INRS Armand-Frappier (4)+ Centre Urbanisation Culture et Société (13) = 203);<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA"> However, adding the number of documents displayed inside each of the above subject (Centre…) does not provide the right resulting number.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> At this level, this stupid result is quite correct. This is simply due to the fact that some documents (e.g.: articles, etc.) are not displayed here.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> Question : Is it possible to bypass this default display in order to get betteer results in the two following ways :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:45.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-CA"><span style="mso-list:Ignore">1-<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-CA">By hiding the third level subject (Doctorat….,Matrise….) (see capture 2);<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:45.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-CA"><span style="mso-list:Ignore">2-<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-CA">By hiding both the top level and the second level, in such a way to see only results under the given Doctorat…. and Matrise….sections<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA">What has to be changed in the above code. Could some angel let me know if such a display strategy this is possible.
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA">Looking forward to hearing from you.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA">Best regards.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:27.0pt"><span lang="EN-CA">John <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="EN-CA"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> id => "divisions",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> menus => [<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> fields => [ "divisions" ],<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> hideempty => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> fields => [ "date;res=year" ],<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> reverse_order => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> allow_null => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> hideempty => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> ],<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> order => "creators_name/title",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> include => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> variations => [<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> "creators_name;first_letter",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA">"type",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> "DEFAULT",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> ],<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA"> },<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b><span lang="EN-CA">Capture 0<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR-CA"><img width="450" height="227" id="Image_x0020_1" src="cid:image001.png@01CF299F.CCAB21E0"></span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><b><u><span lang="EN-CA">Capture 1<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR-CA"><img width="336" height="93" id="Image_x0020_2" src="cid:image002.png@01CF299F.CCAB21E0"></span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span lang="EN-CA">Capture 2<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
</div>
</body>
</html>