Open-CSP / WikiSearchFront

Front-end for the WikiSearch extension.
GNU General Public License v2.0
3 stars 6 forks source link

I can't seem to be able to sort alphabetically on the page name #10

Open bertrandgorge opened 1 year ago

bertrandgorge commented 1 year ago

I tried with page_name, title, pagetitle, page_title, _DTITLE, but none of them actually did anything...

robis24 commented 1 year ago

I have looked at your wiki, and I think you dont' use the displaytitle extension, but you have the has a title property available , you could use it for sorting

bertrandgorge commented 1 year ago

Ahhhhhh... ok got it. I didn't see this property was optional. I'll look into that. NB : keeping this open until I clarify that, in order to document the right way to do it!

Note to self:

bertrandgorge commented 1 year ago

Hello @robis24 I searched further, and using _DTITLE won't help, as it only populates for the pages that have a {{DISPLAYTITLE:Some title}} tag.

Unless there's something I miss, or using a hack that consists at storing the PAGENAME in a semantic property, I can't find how to sort the results alphabetically... :-) !