I am using Drupal 7.15, and the latest beta version of DS 2.x, as well as the latest versions of CTools and Panels.

I have set up my search settings so that it uses the DS Content search as the default display, and configured the Search Results displays of my nodes. When I try it out, everything works as expected.

However, if I override the DS Content Search page using Panels, things break down quickly. Even if I do a simple override and add the Search Form and Search Results to the content area, I cannot get any results returned. Instead, I get a message saying that nothing was found, despite that fact that those same search terms yielded results before the Page override.

I have cleared my caches and searched the issue queue, but could find nothing on this issue. What am I missing?

I'm not using it, but for instance: If a user is using panelizer to customize everything, this would make search results/pages the only thing one couldn't customize, leaving them without additional sidebars, menus, footers, headers, etc. I can't see that flying for any developer. I guess this is where custom Search API pages come in?

Comments

swentel’s picture

Category: bug » feature

There's no support out of the box for search via those panes.

brycesenz’s picture

Ok. I appreciate that quick response and the clarification, but that's exceptionally confusing.

Specifically, why have a search page exposed to Panels if there's no way to populate the search results within that page?

swentel’s picture

Well, that's a pane that ctools/panels exposes, not ds.

tommybyskovlund’s picture

just went through the exact same scenario (one year later :-) - are there any recommendations on how to show ds search results on a Panel page, or?

tommybyskovlund’s picture

Version: 7.x-2.0-beta3 » 7.x-2.4
aspilicious’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

I'm not planning to build this kinda functionality ever in DS.
In order to keep the module maintainable, I'm closing this now.

Feel free te reopen this one once there is an actionable patch.

deanflory’s picture

Issue summary: View changes

Yeah, this is really annoying since those panels show up in Page Manager and allow one to Enable them. Just went through this and put together panes for 4 different search types, all of which don't work. Not sure how, but those templates shouldn't be allowed to be enabled since they're not usable with any type of search: ds, node, file, user, page manager.

What is missing? Does the functionality for the existing "Search Results" pane not add-in what is necessary? Do each of these search types need to create their own custom panel pane to make them customizable?