<div dir="ltr">It is sorting using the 'Title' index. Look at the URL in the OPAC, it contains sort_by=title_az.<div><br></div><div>Then look for title_az on C4/Search.pm. You will notice it does:</div><div><br></div><div>    $sort_by .= "1=4 <i ";<br></div><div><br></div><div>and then if you look at bib1.att, you will see:</div><div><br></div><div>att 4    Title<br></div><div><br></div><div>So that's it.</div><div><br></div><div>Hope it helps.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-29 4:51 GMT-03:00 Tajoli Zeno <span dir="ltr"><<a href="mailto:z.tajoli@cineca.it" target="_blank">z.tajoli@cineca.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
reading from etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml I see that from 245 $a are crerated two indexes:<br>
Title and Title-cover:<br>
<br>
<index_subfields tag="245" subfields="a"><br>
     <target_index>Title-cover:w</target_index><br>
     <target_index>Title-cover:p</target_index><br>
     <target_index>Title-cover:s</target_index><br>
     <target_index>Title:w</target_index><br>
     <target_index>Title:p</target_index><br>
     <target_index>Title:s</target_index><br>
</index_subfields><br>
<br>
Sort by title (A-Z) and (Z-A) in opac are based only on 'Title' Zebra index or also on Title-cover ?<br>
It is not clear for me.<br>
<br>
Bye<span class="HOEnZb"><font color="#888888"><br>
Zeno Tajoli<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Tomás Cohen Arazi</div><div>Prosecretaría de Informática</div><div>Universidad Nacional de Córdoba</div><div>✆ +54 351 5353750 ext 13168</div><div>GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F</div></div></div>
</div>