Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/integration_notion/main/screenshots/screenshot3.jpg</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/integration_notion/main/screenshots/screenshot4.jpg</screenshot>
<dependencies>
<nextcloud min-version="28" max-version="31"/>
<nextcloud min-version="28" max-version="32"/>
</dependencies>
<settings>
<admin>OCA\Notion\Settings\Admin</admin>
Expand Down
8 changes: 6 additions & 2 deletions lib/Search/NotionSearchDatabasesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\Search\IExternalProvider;
use OCP\Search\IProvider;

use OCP\Search\ISearchQuery;
use OCP\Search\SearchResult;
use OCP\Security\ICrypto;

class NotionSearchDatabasesProvider implements IProvider {
class NotionSearchDatabasesProvider implements IProvider, IExternalProvider {

public function __construct(
private IAppManager $appManager,
Expand Down Expand Up @@ -152,4 +152,8 @@ protected function getThumbnailUrl(array $entry): string {
}
return '';
}

public function isExternalProvider(): bool {
return True;
}
}
8 changes: 6 additions & 2 deletions lib/Search/NotionSearchPagesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\Search\IProvider;

use OCP\Search\IProvider;
use OCP\Search\ISearchQuery;
use OCP\Search\SearchResult;
use OCP\Security\ICrypto;

class NotionSearchPagesProvider implements IProvider {
class NotionSearchPagesProvider implements IProvider, IExternalProvider {

public function __construct(
private IAppManager $appManager,
Expand Down Expand Up @@ -165,4 +165,8 @@ protected function getThumbnailUrl(array $entry): string {
}
return '';
}

public function isExternalProvider(): bool {
return True;
}
}
Loading
Loading