CarnetApp / CarnetNextcloud

GNU Affero General Public License v3.0
153 stars 28 forks source link

Search is broken in Browser #212

Open nickmarksgithub opened 7 months ago

nickmarksgithub commented 7 months ago

Describe the bug Search box is unresponsive when using a Nextcloud in a browser.

To Reproduce Open Nextcloud Click on Carnet Type a search query Hit enter or click on the search icon There is no change in the carnet screen to filter results of search term. Appears to not search at all

Expected behavior Carnet filters based on search term

CyberMinion commented 5 months ago

It is also seems broken on NextCloud 28.

Playnary commented 5 months ago

At first look it seems either a build error or a missing feature. The WebClient template currently references a search.js that only exists for the Electron version (in /browsers/) and that is not applicable for it.

The error for that appears as a MIME type error, but the referenced file is completely absent.

s90570 commented 4 months ago

I renamed /nextcloud/apps/carnet/vendor/psr/http-message to /nextcloud/apps/carnet/vendor/psr/http-messageOLD and made a symlink to /nextcloud/apps/fulltextsearch_elasticsearch/vendor/psr/http-message. And it seems to be working.

Carnet still uses psr/http-message version 1.x while elasticsearch uses version 2.0 already.

nickmarksgithub commented 4 months ago

I renamed /nextcloud/apps/carnet/vendor/psr/http-message to /nextcloud/apps/carnet/vendor/psr/http-messageOLD and made a symlink to /nextcloud/apps/fulltextsearch_elasticsearch/vendor/psr/http-message. And it seems to be working.

Carnet still uses psr/http-message version 1.x while elasticsearch uses version 2.0 already.

Unfortunatelty I don't have the /nextcloud/apps/fulltextsearch_elasticsearch directory