Repository navigation
implements search on null/notnull metadata - #41459
Merged
Merged
Conversation
artonge
reviewed
Nov 14, 2023
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 14, 2023 14:15
8eba418 to
b77e16c
Compare
This was referenced Nov 14, 2023
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 14, 2023 22:14
b77e16c to
5229965
Compare
Member
|
might be cleaner to just transform the dav operator to |
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 14, 2023 22:43
5229965 to
a091bf0
Compare
Collaborator
Do you mean in the DAV request ? The issue is that we are casting the type of the property here: server/apps/dav/lib/Files/FileSearchBackend.php Lines 418 to 436 in b79a21d And as the property is used in another comparison in the request, it is assumed to be an integer. So using the appropriate operator would be cleaner I think. |
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 15, 2023 21:03
a091bf0 to
ab03a38
Compare
Collaborator
|
Pushed 3rdparty changes |
artonge
requested review from
ChristophWurst,
miaulalala and
tcitworld
as code owners
November 16, 2023 08:46
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 21, 2023 15:18
cf5b620 to
1386738
Compare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 22, 2023 13:43
1386738 to
a93af13
Compare
ChristophWurst
approved these changes
Nov 22, 2023
ChristophWurst
left a comment
Member
There was a problem hiding this comment.
👍 for the caldav changes
Member
Author
|
Working on fixing test.
(status was before propstat before) |
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
3 times, most recently
from
November 23, 2023 01:23
8d06f48 to
a1d2ac5
Compare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
ArtificialOwl
force-pushed
the
enh/noid/search-metadata-null
branch
from
November 23, 2023 01:43
a1d2ac5 to
fbe92d4
Compare
AndyScherzinger
approved these changes
Nov 23, 2023
Member
|
adds new public API -> needs docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the possiblity to search on null/not null value on metadata.
This is a test-feature for the Photos App.
This PR requires to add this line
in https://github.com/nextcloud/3rdparty/blob/master/icewind/searchdav/src/DAV/QueryParser.php#L78
Need: