]> mj.ucw.cz Git - libucw.git/commit
Finally I realized why we were using secondary sorting on site_id
authorMartin Mares <mj@ucw.cz>
Sun, 21 Apr 2002 08:30:06 +0000 (08:30 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 21 Apr 2002 08:30:06 +0000 (08:30 +0000)
commitd06e44ff78efb6e95ff9d6dfc592db6d6f6bd032
treedd9c3be0815d9ad4df10d184d0017f0913ff77d2
parent8ffdaed1c5f5bf4ad0914b8d17f14af51ce037a5
Finally I realized why we were using secondary sorting on site_id
by default :-)  I was originally searching for some magic inside the
search server which needed that to work and completely missed the
simple fact that the front-end wants the results this way :-)

So I'm resurrecting it, but now as an ordinary instance of the secondary
sorting code I've introduced yesterday. The CUSTOM_SORTING switch is gone,
sorting by site ID and page age works always.

Also, I've simplified reverse sorting by introducing a separate XOR mask.
lib/custom.h