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

learn more… | top users | synonyms (1)

3
votes
1answer
21 views

How to dynamically change the text of the Global: result summary based on exposed filter on Views?

There is a content type and it has a field called field_type. It's a select list and there is 5 options to select such as AAA, BBB, CCC, DDD, EEE. I'm using the Views module to list the nodes of this ...
1
vote
2answers
25 views

Remove label Search terms from Views exposed form

On this site in the sidebar i have a views_exposed_form to search. I need this search functionality to show my search results for restricted pages. How do i remove the label 'Search Terms'. Is it ...
0
votes
0answers
22 views

Views Exposed Filters only adds parameters instead of redirecting to the view page

I've created a View with exposed filters and rendered said filter inside a block in my homepage, but instead of redirecting to localhost/test/?type%5B%5D=article&type%5B%5D=page when I click ...
0
votes
0answers
8 views

How can I set a 'global' Exposed filter rewrite for taxonomy terms on a view

How would I go about settings a rewrite for display taxonomy (Rewrite filter options), but as a 'global', instead of having to set each individual value for exposed filter? I can see the there is ...
1
vote
0answers
13 views

Views listing of nodes and node title as exposed filter

When I started this view I thought it would be simple… But it's not. I've an "Office" content type and a view (block) where are listed my "Office" nodes as teaser. First of all it could be great if ...
1
vote
0answers
18 views

Display nodes with the same parent node

Let's say I have a Region content type that have multiple entity reference to a City content Type. When I'm on a City page, I would like to display Cities of the same Region as the City page. How ...
2
votes
2answers
29 views

How to filter views rows whose nid is less than nid provided by url?

Drupal 7. In a node/edit form panel I have added a view that returns nodes. I whish to filter thoses nodes and keep only the nodes whose nid is less than the nid of the node beeing edited. the url of ...
0
votes
0answers
24 views

Views Exposed Filter and Pager adds leading zero in URL argument which fails

I have a View that exposes a filter like this: And settings are the following: When changing in the exposed filter it works as expected, however I also have a pager and when I try to click on the ...
1
vote
1answer
22 views

Exposed Filters in Drupal 8

I am not able to get exposed filters to work in Drupal 8. Here is a screenshot to help me while I explain some of the issues I want to filter by the title of a content type. This title was ...
1
vote
1answer
20 views

How to send after filtered views result in mail in drupal 7?

I have created a view in drupal 7 with filters.. View is working fine I need to send after filter view result in mail with ajax views. This time I am not using ajax so I am sending a filtered url in ...
0
votes
0answers
14 views

Date API not accepting date format in a view filter

I'm using Availability Calendars and Date API modules and I need to filter views using the availability data. The module provides a view exposed filter which allows to choose an arrival and a ...
1
vote
1answer
20 views

Creating filter seems to work but doesn't “stick”

So I want to create a view filter programatically using hook_update in the .install file. I feel like I have it going, but the changes will not show up in the UI. Here is what I am doing, and the ...
3
votes
1answer
18 views

how to depricate repeated field values from my view?

Look at my screenshot i don't need repeated employee id and name...i just want to print emloyee id and name once but i want to display the others records with blank employee id and name but not ...
0
votes
1answer
34 views

Creating a filter programatically with views_get_view [duplicate]

I have a lot of views and I want to add a filter to just one of them. This view is called soccer_news_feed and I want it to check out my custom field: field_data_field_is_score and display if it's not ...
5
votes
2answers
66 views

How do I sort or filter a View by proximity using Search API location?

I am trying to set up a Solr Search View with Search API Solr and Search API location, witch is sorted by proximity an can be filtered by proximity. To achieve that, I created an search index, ...
1
vote
1answer
29 views

Drupal View Filter Criteria “Contains Taxonomy”

I need to filter based on taxonomy term in my view, I have set up this filter however I would like to return nodes that 'contain', not "Is one of". See screenshot below: Is there a module or a way I ...
0
votes
0answers
17 views

User taxonomy term with depth filter

Please how can I filter the taxonomy depth of type user in views? Users have taxonomy as follows: country -city1 -city2 The view is set up as relationship=field-country and able to create a context ...
1
vote
1answer
29 views

Drupal 7 Views - Date Filter Cannot See Year

I am trying to create a view with exposed filters for a date field with a start date and required end date. However, I cannot see the year for the date when I created the filter. I can only see the ...
0
votes
1answer
13 views

Filter a view result by matching a view field to a URL term

I have a content type called "Post" which contains two fields: 1) title 2) username I created a View which creates a block that gathers all Posts. The block will reside on a user's account page, ...
0
votes
1answer
23 views

Views Search Terms not working correctly for taxonomy terms with multiple words

I'm having a bit of an odd issue. I have a Search Terms filter set up on a view and it's not working quite correctly for taxonomy terms in the view. For example, if one of the Terms is 'International ...
0
votes
1answer
17 views

hide unpublished content in view, for everybody except the author

I'm trying to make a view of articles written by an author. I use the author UID from the URL as a contextual filter. I want to hide unpublished content from everybody except the author himself. I ...
0
votes
2answers
30 views

hide repeated data from my view table for some specific field

****how can hide repeated data from my view table. i want to print employee Id and name field only once for each group. can you please help me out.**** I am fetching two table in view using ...
0
votes
0answers
8 views

Alter exposed filter if no result and regenerate the view

I've an exposed filter on a views. The filter search nodes where a field is equal to 1 by default. The filter can takes 3 values : 1,2 or 3. When the page is loading, I want to alter the exposed ...
0
votes
1answer
35 views

AJAX Populated Views Exposed Filter

I'm re-building a travel website and need the trip search form to have the "Arrivals" select populated using AJAX once the departures has been selected to remove any empty search results. I have ...
0
votes
0answers
22 views

Empty canvas fields when ajax view filter applied

I have a views block of contents which include canvas field and I added an exposed filter criteria. In views block config I set "use ajax = yes" (filter form with a view as block need ajax). In the ...
0
votes
0answers
8 views

View with Single Filter and multiple arguments combined with OR and autocomplete

I'm seriously working on a big problem. I have an autocomplete single filter exposed to users. This works fine :-) But i want to improve this filter to search with more than only one argument, ...
3
votes
3answers
108 views

Can I include nodes in a view's results only at URLs specified in the nodes?

Is it possible to conditionally include nodes in a view based on the paths specified in a field on that node? The idea is to essentially mimic the default property of blocks, making their display ...
2
votes
1answer
20 views

View table sort with table header instead of an exposed dropdown

I have a view where the format display is a Table. I exposed some field for sorting. The problem with that is, instead of activate the Table Header for the choosen sorting field in order to sort, ...
0
votes
1answer
27 views

Using hook_form_alter to change exposed filter from a textfield to a checkbox

While Views in now in Core in Drupal 8, Better Exposed Filters, a popular module for Drupal 7, is not yet ported to Drupal 8. So I need some way to do some of the same things. I have an underlying ...
0
votes
0answers
25 views

Render Views Filter as a Select List?

In Drupal 7 I could have a view with exposed filters that actually referenced content types as shown below: The views filter settings looked like this (below), where I could select the drop down ...
0
votes
1answer
45 views

Chosen module present but inactive

To replicate the issue: Install and enable Chosen module -> (Apply Chosen to exposed filter) Add .views-widget-filter-title to /config/user-interface/chosen under "Apply Chosen to ...
0
votes
2answers
49 views

Views Exposed Filters: how to get functionality shown in this image?

I'm wondering how hard it would be to get the functionality shown in the image, and at the associated webpage, with Views Exposed Filters. How would you go about it? Thanks in advance! I notice 3 ...
0
votes
0answers
22 views

Next in position of nodequeue in views

I got A Drupal7 setup with module view and nodequeue. Now i want a pager on the bottom of my content-type that gets me to the next node of this type in my nodequeue position. Now i found this Get ...
1
vote
0answers
20 views

How to populate filter options with another field values?

Consider the following nodes: - 'Match' which has a 'field_season' field referencing to 'season' node - 'Player' which has a 'field_seasonS' field referencing to 'season' node, allowing multiple ...
0
votes
0answers
17 views

Can't load users field in View

I've a problem since yesterday. I want to create a view using users data. So I choose Users but : Instead of having only sorted by Newest first, I've all the options for a content type. It's like ...
0
votes
0answers
10 views

Search API View exclude nodes with same Value(duplicates)

I am trying to create a view with the search API(indexed node view). My English is not so good so I have to describe the structure and what I want as result: The node has 2 important fields for this ...
0
votes
0answers
11 views

How to make multiple selection filter in views in drupal 7?

I am using drupal-7. I have created a views with expose filter with multiple selection .. I have 3 fields in expose (small,medium and large) its working fine. when I select small its give small ...
0
votes
1answer
20 views

Views Dynamic Fields checkboxes to dropdown select

I'd like to know if there is a way to modify the exposed check-boxes filter of Views Dynamic Fields module and convert it to a multi-select dropdown menu (like an ordinary exposed filter). ...
0
votes
1answer
41 views

Set exposed filter date programmatically

I would like to programmatically set an exposed filter for a field date (field_date) in a view. Date has to be > of a specific date or between to dates. I tried this, but it does not work. It ...
1
vote
1answer
29 views

Views: count and filter by entity field value

I have many nodes of type 'Players' and 'Match'. In the 'Match' node there is an entity field 'Strikers' referenced to 'Players' which allow multiple values. I'd like to create a player page that ...
1
vote
1answer
35 views

Using entity reference field as filter in view [closed]

I have a content type 'Player' which has an entity reference field to the content type 'Tournament'. The entity reference field allow multiple values (a player can join several tournament). I'd like ...
3
votes
1answer
28 views

Exposed filter : search term with select which 'field' to search by

I have a view which displays a list of nodes with exposed filters. Everything works perfectly. I would like to add a filter like this: one input text one drop-down. The list items represent ...
1
vote
2answers
61 views

Attached view ajax call (lazy load) with exposed filters

I'm using views with a main view and an attachment to put 2 views on a single page. Each view is in it's own Bootstrap togglable tab. Because I don't know how many people will actually switch to the ...
0
votes
1answer
32 views

How to add views exposed filter blocks into views

I am trying to move a views exposed filter into a custom block, and then add it back to the views header. The reason for this is because I would like to intersperse the filter with other blocks/markup ...
0
votes
1answer
36 views

How to reverse order of pulldown Views Exposed Filter showing taxonomy terms reference field

In Views 3 D7, I have a view with an exposed filter pulldown that is based on a taxonomy vocabulary called Versions. The filter pulldown shows the versions in the order of the vocabulary (so 1.0, 2.0, ...
3
votes
0answers
134 views

Grouped Exposed filters radio buttons : one in two no value ticked. How to programatically force default button be ticked?

Some exposed filters (radio buttons) aren't systematically ticked when a view is displayed, causing an "An illegal choice has been detected. Please contact admin..." error message and No result found. ...
0
votes
0answers
17 views

To Have selected unique set of filter values without any duplicates for Exposed Date filter? (Year wise Exposed Date filter having selected values)

I want to have exposed filter showing only selected unique years.Ex:If there are 3 contents having year 2015 , in exposed filter it should show only once and if there is no content in 2015, year ...
1
vote
1answer
22 views

Is Filter Contains all words working well?

I have a View and a filter, with "Contains all words". I see that the SQL contains the expression '%word1%' AND '%word2%', but this is making that if I write "angular", just when I start writing ...
0
votes
2answers
28 views

Views and Panels: Exclude already displayed items from view

I have two views on the frontpage, first one is a gallery and it should show only articles which have "promoted to frontpage" checked. The second view should show all the articles except the ones show ...
1
vote
1answer
28 views

Views - get Title field from another content type in expose filter

I have two content types: Project and Task. Project has an node reference field of Task - when you create a Task, you add reference to one of Project. I need to create a view of Project and add the ...