Skip to content

Fixed searchByMime in shared cache - #7089

Merged
PVince81 merged 1 commit into
masterfrom
sharing-searchbymime
Feb 6, 2014
Merged

PVince81 merged 1 commit into
masterfrom
sharing-searchbymime

Conversation

@PVince81

@PVince81 PVince81 commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

Note: this is not a "full fix" of the search code as the "full fix" requires some refactoring to be done in the sharing API to allow "where" clauses from outside.
Also, didn't want to add a "where" clause to the getFolderContents() yet to prevent API changes.

So this is a "quick fix" which should be suitable for backporting.

Please review @karlitschek @schiesbn @icewind1991 @butonic @DeepDiver1975

- searchByMime now correctly returns files recursively search through
  all the dirs
- added unit test for searchByMime
@ghost

ghost commented Feb 5, 2014

Copy link
Copy Markdown

@VicDeo

VicDeo commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

@PVince81 you're my hero now!
👍 Tested

Fixes
#4516
owncloud-archive/documents#194

@icewind1991

Copy link
Copy Markdown
Contributor

Looks good 👍

PVince81 pushed a commit that referenced this pull request Feb 6, 2014
Fixed searchByMime in shared cache
@PVince81
PVince81 merged commit aff1caf into master Feb 6, 2014
@PVince81
PVince81 deleted the sharing-searchbymime branch February 6, 2014 13:15
@PVince81

PVince81 commented Feb 6, 2014

Copy link
Copy Markdown
Contributor Author

@karlitschek backport ?

@karlitschek

Copy link
Copy Markdown
Contributor

yes. this is important

@PVince81

PVince81 commented Feb 6, 2014

Copy link
Copy Markdown
Contributor Author

Backported to stable6 as f9bd4c5

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shared pics folder do not appear if shared from subfolder

4 participants