You are viewing limited content. For full access, please sign in.

Question

Question

How do I get the sort result default to the "Date modified", when doing a quick weblink search from the welcome page

asked on August 16, 2016 Show version history

I have test some change in the welcome.apx file to add feature as explain in different post about changing the default.

 

but did not work with the weblink version 9

 

to default

 

 

0 0

Answer

SELECTED ANSWER
replied on February 23, 2017

OK got it, in my situation the search was done on the welcome page, so the file I should modified was the welcome.aspx.vb at line 61 (second line in the following code)

 MySearchResultsBrowser.Columns = WebLinkControls.ColumnSelect8.GetSelectedColumns(Page, m_Conn, "SearchColumns", Nothing)
            MySearchResultsBrowser.DefaultSortColumn = Column_Type.COLUMN_TYPE_LASTDATE
            MySearchResultsBrowser.Visible = False ' SCR 124092

And I build back the weblink project, restart IIS and now it works

0 0

Replies

replied on August 18, 2016

the modifications suggested that worked with version 8 do not work in weblink version 9.

do someone can help to make it work?

0 0
replied on August 23, 2016

Any help on this, I tried things, and no luck so far

replied on September 6, 2016

Anyone have an idea how to customise the web page to get the search result order by Date in place of Relevance?

0 0
replied on October 3, 2016

I tried the sugestion on this thread but did not work at all

http://answers.laserfiche.com/questions/80608/Weblink-search-customization-order-by-most-recent

Is there a way to get it done, all the modification so far, always give by default the results order by relevance.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.