[owncloud-devel] OCA.Search: JS-based search results
dubiniuk at owncloud.com
Mon Apr 25 13:57:40 GMT 2016
IIRC it is not maintained for some time.
You can have a look on how it as done by @butonic a long time ago in
On 04/25/2016 11:05 AM, Georg Ehrke wrote:
> I’m currently working on the search capabilities of the calendar app.
> OCA.Search provides three kinds of functions an app can register: filters, renderers, handlers
> A filter is called when the search input changes and the app is supposed to filter its current view based on the query.
> As far as I can tell from the code filters are not supposed to generate a list of search results and the result of the filter function is simply ignored.
> Renderers and handlers both require some server side code, so it’s not suitable in my use case.
> If not, what to do about it?
> Overwriting OCA.Search.search(…) won’t work, because showResults and addResults are private functions.
> Just implement my own OCA.Search?
> One thing I noted during investigating this issue:
> Our developer documentation is really lacking information about public JS APIs.
> Now I’m familiar with ownCloud’s code base, but new app developers are really left behind here. :/
> Devel mailing list
> Devel at owncloud.org
More information about the Devel