Views filters allow to filter the content shown in a view.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Views: Content grouped by 2nd level taxonomy term

I want to create a view that accepts parent taxonomy term as contextual filter. And it will show the content grouped by its child taxonomy terms. For example if the taxonomy has Top Term1.0 -- ...
0
votes
0answers
12 views

How can we apply group_concat using views?

Is there any way we can apply group_concat clause using views and without applying any customization to views ?
0
votes
0answers
13 views

How to add a form_token to Views exposed filters?

As per the Acunetix scan report, I need to add form_token for drupal views exposed filter. How could I achieve this?
0
votes
0answers
9 views

Basic filter that can be expanded to include additional filtering criteria

I have several filter criteria for examining different classes based on location,meeting time, etc. All the different filter options take up a lot of space and can look overwhelming to a new visitor. ...
0
votes
0answers
17 views

How to add a textbox in views filter criteria

There is a view in my site that has filter criteria. I need to add an extra textbox in views filter criteria then based on its value, remove some of the results. This textbox is not in any of the ...
1
vote
1answer
16 views

User select the filter criteria current_salary_range is 20000. I will show the results also salary range below 20000

I have created the content type named candidate_profile, included fields like Current_Salary_Range. I have created a view and also I am using better exposed filter for current_salary_range field. My ...
0
votes
0answers
22 views

How to increase the speed of exposed autocomplete field in views using drupal 7? [closed]

I have an exposed auto-complete taxonomy filter, It takes time(5 to 6sec) to load the values. How to increase the performance to load the values quickly.
0
votes
2answers
18 views

Filter in view with some dynamic value

I have a content type, have a integer value field suppose field name is "field_xyz" and I have also variable from variable tables (variable_set('xyz')) which have some dynamic value Now I want to ...
0
votes
0answers
10 views

Creating a data export view from an existing display

I have an existing complex page view with 16 fields and 13 exposed filters and sorting criteria. I'd like to create a "Data Export" display from this display that carries over all the fields and ...
0
votes
2answers
42 views

How can I have Exposed filter of Flag type in views?

I want to add Exposed filters of flag types in Views. I have many flag types and I want users to be able to select their favorite Flag type to show result.
1
vote
1answer
28 views

How can I filter a view according to another view's results

I have one view with two display: "latest news" and "populer news" I want show two block side by side like mashable.com. I can easily do that of course but one problem. There are same news both ...
0
votes
2answers
55 views

Sort criteria is ignored in Views

I have a view that shows related products by means of a contextual filter (PHP). If the returned nid values from the contextual filter is for example "20697, 20735, 20768, 20903, 20695, 21863" I want ...
0
votes
0answers
8 views

Show selected filter and cross button right to it for removing filter

I am working on drupal 8. I just created a view with solr index view and created some filters. I want that after selection of filters, the selected filters must be displayed on the top of page with ...
0
votes
0answers
22 views

Views - exposed date filter adds a timezone offset in query

In Drupal 8, when creating a view with an exposed filter on a Date field (which is in date only mode), the resulting query removes some hours based on my timezone. I'm in the UTC+2 timezone, so a ...
1
vote
2answers
28 views

Views taxonomy for multiple content types

I have three different content types: News, Events and Resources. They all use the same set of taxonomy so that all content is tagged with the same categories. I want to build a view with the ...
0
votes
0answers
14 views

how to alter exposed form values before submit for filters in drupal7 view

I want to do left and right trim when end user enters data in textbox for filter list of rows in drupal 7 views
0
votes
0answers
17 views

Using MEFIBS (More Exposed Forms in Blocks) in Blocks

I know this may sound redundant but It isn't. The MEFIBS module allows to put the exposed filters form of a view in a block, which later you can place wherever you want in the page but also wherever ...
0
votes
1answer
18 views

Filtering comment by date range in Views

I have created a view to filter comments by date range. For date range i am using between operator. View type : Comment Date : comment created (default field) Issue : When i am trying to filter ...
0
votes
1answer
14 views

Filtering date fields in Views - How can I test for NULL

* QUESTION EDITED - was previously two separate issues, now limiting question to one issue only * When I add a Date field to the Filter criteria, I get a choice of operators "Is less than", "Is less ...
1
vote
1answer
27 views

Can I OR views filter criteria

I'm sure this should be simple and I'm missing something because I'm tired on a Friday afternoon. I have a Content Type (which I didn't design!) with fields "Start Date" and "Start Month". I want to ...
0
votes
0answers
15 views

Using views exposed filters in a block, breaks the replacement patterns in the view

Views filters in a block breaks the working of the replacement patterns in the views fields. Even when using the ajax option. I have not found an issue in drupal.org or I may have overlooked one?
1
vote
0answers
22 views

Views Exposed form in block : how to add a ajax results counter?

I implemented a view as following : a first page display with an extensive exposed filters form (Better exposed filters), ajax enabled, let's call it the landing page a clone of it, in a second page ...
1
vote
1answer
17 views

Views and node_access

I have a D7 installation with about 2k "project" nodes, which have a multi-entry field "team members" used to control view and edit access. So far, I have my (pretty complex) logic inside ...
1
vote
1answer
17 views

Alter views 'Has taxonomy term' filter Programatically using views_get_view

Im am having some problems setting TID filter values programatically. I have an array of term ids form a taxonomy field that I need apply to a views filter via views_get_view. This is the code that I ...
0
votes
0answers
3 views

Views exposed filter 'input required' has effect on all views panes on a page. How to prevent this?

De views setting 'input required' makes a view have no output when the user did not insert or select something in an exposed filter. However, this setting has effect on all view panes in a panel, ...
0
votes
1answer
19 views

Autocomplete views exposed textbox for Entity reference field

I've got 2 content types "Equipment" and "Machine" , "Equipment" content type consists of an entity reference field targeting "Machine" content types. My goal is to provide an exposed filter for user ...
0
votes
2answers
37 views

How to do something BEFORE a view is updated via ajax submit button?

I have a view with exposed filters and Ajax activated. I would like to validate my exposed filters values before my view is updated by the submit button. The following code works without Ajax, but ...
0
votes
2answers
40 views

Add conditional redirect to Views exposed filter (using BEF)

I have a view showing a select list of locations. Upon selecting a location the View shows a Google Map with the locations of the current selection. For certain items in the select list I would like ...
0
votes
4answers
35 views

How to submit a form with javascript?

I have an exposed views form, am geolocating in javascript and setting the co-ordinates in the exposed form. This form submits properly when I click on the 'apply' button but does not when I use ...
1
vote
1answer
22 views

How to filter content in Views based on multiple term custom fields?

I'm trying to find a way to filter Views through contextual filters based on custom taxonomy term fields. Here is an example: Content type: Article Taxonomy vocabulary: Tags Tags custom field: ...
0
votes
1answer
22 views

View of related nodes by continent or country without taxonomy terms

I have a content type called Packages.Each content has two fields: Title and Continent(this field was created using the module Countries). I have created five contents of content type Package: Title ...
0
votes
2answers
29 views

How to filter by month in view using a date field

I have a field called birthday that is defined for users. In views, is there any way to create a filter that filters only by month? Smallest values it lets me select is year and month where I only ...
0
votes
0answers
33 views

Drupal 8 Dynamic View Mode problem

I have installed the project - view_mode_selector My objective is to be able to: Allow the user to create a basic page Allow them to select a view mode for it's sub content items (a drop down list ...
0
votes
0answers
14 views

how to fix filter identifier effect on views exposed filter?

I'm using Simple hierarchical select.I use it in exposed filter in views, When I choose first taxonomy(parent), the page redirect to "/?shs_term_node_tid_depth=644". "shs_term_node_tid_depth" used in ...
0
votes
0answers
24 views

How to show nodes and users in Views?

I have a view where I show nodes of content type, with some filters exposed . But , I wish that these filters also show results of users (based on their username and a field of them). Exposed Filters ...
0
votes
1answer
25 views

How to hide terms with no nodes in “Simple Hierarchical Select” in views?

I am using a Simple Hierarchical Select as an exposed filter in views. How would I hide terms that have no nodes from the select box?
4
votes
3answers
92 views

How to translate Select List options used in exposed filters of a view?

I'm having an issue with translation of exposed filters in Views. I'm using a text list field as an exposed filter in my view. The problem is that even though I translated the list terms via strings ...
1
vote
1answer
41 views

Custom Views Sort Order Using Filter Value

I have a View containing a list of events. There is a date field on the event content type which contains start and end time: There is a filter for start time, which is setup using the Views ...
0
votes
0answers
29 views

Alter views exposed filter using any hook function

I want to alter an exposed filter of a view to add a new field to the existing filter. I tried the same with hook_views_pre_view() and the new filter field added successfully. But after typing ...
0
votes
1answer
20 views

View No Results Behavior not working

I have a view with horses for sale. I have another view with a filter of field_sold = yes. Currently there are no horses for sale. I want to add a No Results Behavior "Currently we have no horses for ...
0
votes
0answers
13 views

Differentiating multiple exposed filters on same page

I have been struggling with this issue and this thread shed a lot of light on the issue I'm fighting. However, unlike in the question above, I have two exposed filters from the same view on the same ...
3
votes
1answer
19 views

Once function not preventing behavior executing on AJAX update

I am attempting to disable 2 inputs within the Views exposed filter form upon initial page load. However I don't want this to happen after the filter form is autosubmitted. I have the following ...
3
votes
1answer
14 views

Exposed filter list by tags

I have a view, which is listing nodes. I like to exposed filter it by tags (what is a taxonomy). But I like to show tags, what is relevant (has nodes) for the current view. How can I make it?
4
votes
1answer
22 views

How to create a filter in Views for filtering dates by day, month, or year?

I have a few thousand nodes with different dates as one of the fields. I am trying to create an exposed filter in views that allows the user to filter by day, month, or year. For example, I would ...
0
votes
1answer
18 views

Conditional filters for views

I have 4 filters for my nodes. These filters work with taxonomy terms. So I have 4 taxony lists: Type (a,b,c) length (d,e,f,g,h,i,j) If I select Type (a) then length should only give me the ...
0
votes
2answers
29 views

Views filter by type and taxonomy

I have two types of content every one with two taxonomies: TYPE A with Taxonomy 1 (multiple) TYPE B with Taxonomy 2 (multiple) Now I created a view with 3 filters exposed: Node type: A or B or ...
0
votes
0answers
25 views

how to show only child term on expose filter option based on parent term from url in drupal7 views?

I have created views with expose filter in drupal7. In expose filter I need to show only child term.Parent value will be depend on url. This time all parent and child term are showing in expose filter ...
1
vote
1answer
18 views

Can View content be filtered to what's new since user's last login?

We have a View that displays recently created content of a specific custom type – currently, it's showing the titles of the most recent 3 items. The site requires login, so can identify unique ...
1
vote
0answers
14 views

Rendering family tree graph

My website has a bunch of nodes of content type member, and to each node is associated 0 or more other member nodes via a field field_big_brother_s_. How do I use graphviz to render this information ...
0
votes
0answers
11 views

Drupal 7 Views 3.13 Filter groups returns nothing if one group is empty

I have a need to display a block with nodes from different content types. The content types contain different fields, and I would like to filter based on different criteria of each type. I had hoped ...