Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Media Browser
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2012 at 13:34 UTC
Updated:
11 Nov 2012 at 00:11 UTC
Hi,
We have a semi-large (~11.500) media-library with meta-data fields on (photographer, description, etc). So we use a Search API index of media-items to let our users search through these.
We would love to use a view based on the index in the Media Browser, but because the display- and style plugins only register file_managed as their base, this is impossible. After tweaking the base, I found a few other places where the SQL- and Search API based Query plugins differ, so two other places needed some checks too..
But attached is a patch that enables the Media Browser to use Search API based views as well.
Regards
Morten
| Comment | File | Size | Author |
|---|---|---|---|
| media_enabled-search-api-based-media-browsers.patch | 2.89 KB | fangel |
Comments
Comment #1
fangel commentedWhoops, forgot to mark as 'needs review'
Comment #2
ParisLiakos commentedthanks, pretty straightforward.
I just make a few corrections
commit here
http://drupalcode.org/project/media.git/commit/63604d4