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

learn more… | top users | synonyms (1)

0
votes
1answer
20 views

How to filter 1 view with two fields based on 1 contextual filter?

I having a view which result in a table with three fields like: field1, field2,field3 row1 with values 100, 110, 503 row2 with values 200, 520, 110 row3 with values 300, ...
1
vote
1answer
20 views

Discard views filter on field from referenced taxonomy term when relationship isn't present

I want to show two content types (A and B) in one view. 'A' has a relationship with a taxonomy term 'foo', 'B' doesn't have this relationship. So the relationship isn't required. However when I use a ...
0
votes
0answers
22 views

Filter criteria Book: Depth is missing?

I have created Pages using the core Book module in Drupal 8. I tried to create the view for that content type, and there, I need the filter criteria Book:Depth in view, so I can show the pages of ...
0
votes
1answer
37 views

Exposed Taxonomy field in views filters

I have a taxonomy field in my view in filters and I have made it exposed to the users with selection type "dropdown" along with "Show hierarchy in dropdown" as checked. I'm also using Better Exposed ...
2
votes
1answer
30 views

How to add link title in combine field filter

my view having combine field filter.it is working based on link field. the link field title is "test" and the url is "http://example.com".when i search using "test" it is not showing any result.if i ...
2
votes
1answer
30 views

How do I change the default value for a filter?

I want to customize the default value for a filter in view through some custom code. I have tried the below answer and its not working for me. if ($form['#id'] == 'MY_EXPOSED_FORM_ID') { // ...
1
vote
1answer
46 views

Views - filter Articles by tag equal to node beeing viewed title

I'm trying to create view which will show all Articles which tag is equal to title of currently being viewed node (which content type is not Article). Adding filter Has taxonomy term = [title] does ...
0
votes
1answer
42 views

Views selective filters show terms hierarchy

I'm using Views Selective Filters, trying to expose taxonomy terms filters with its depth/hierarchy. Whenever I configure a filter with criterion Content, for instance Country (field_country) where ...
0
votes
0answers
12 views

How do I auto-reset exposed filters?

I am using views along with solr search api to display search results. Within results I need to add filters so I have used views exposed filter for the indexed fields. Now that I have exposed filter I ...
1
vote
1answer
18 views

Add views past date filter dropdown

Tried if someone has already faced or tried for this but I could not find any forum discussion around this. Within Drupal views I am trying to add date filter based on a CCK date field. I am trying ...
0
votes
0answers
32 views

Global filter configuration

I have been trying to set up the “Global Filter” module but struggling. I cant seem to find where I set the field or view which will be use to filter. I have attached a screen shot of the settings ...
0
votes
0answers
25 views

How to filter a view with another view?

Let me explain my situation. I have in D7 4 different taxonomy list. Each taxonomy list is connected to other data in the system A content type cFoo 2 different roles : contentmanager (CM) and user. ...
0
votes
1answer
33 views

One exposed filter for multiple views

One exposed filter for multiple views I have an exposed filter which is a date field containing a month and year using the “date module”. I want to use different views to read the URL and filter ...
0
votes
2answers
21 views

Deleted term shown in exposed filter

I'm using exposed simple hierarchal select module for a taxonomy in my exposed filter, i have deleted some terms from the taxonomy but the filter still showing the deleted terms. I tried clearing ...
0
votes
0answers
31 views

Bootstrap View larger checkbox

I use Bootstrap theme. In addition taxonomy filter in the View for some reason he is not properly displayed, select very large. If you add another filter (below the latest) it is shown correctly. ...
0
votes
0answers
10 views

View filter Author current user Any or Yes only

I create View filter by Author current user. Add RELATIONSHIPS Content: Author, then add Filter:User: Current, enable option Expose this filter to visitors, to allow them to change it. There three ...
0
votes
0answers
17 views

Filter using 'Time field' module not working

I am using the time field module in a Drupal 7 site to filter nodes by time and day but having no joy. I have a content type with a time field with options for a start and end time and the days that ...
1
vote
0answers
36 views

Which is the DRY-est way of organizing taxonomy terms under submenus?

Given the Active Sales view with 3 Displays each having their own content type (of the same name) and url path: Active sales ( /active-sales ) Announcements ( /announcements ) Portfolio ( /portfolio ...
0
votes
1answer
29 views

Hide taxonomy term in specific node form

I have a select list of taxonomy terms, all terms are needed for searching in views, but I don't need for insert new content. I wrote a custom module, which Hook should I use to hide some terms of my ...
1
vote
1answer
61 views

View sorting becomes arbitrary with grouping field?

The setup: A view that lists out nodes containing study abroad Program information. Its format is Unformatted List. There is a Grouping field of Country (which is a field on the Program content type)...
1
vote
1answer
21 views

Views exposed filter to take multiple values

I'm running a D7 system and have a requirement where I want user to be able to pass multiple values in one of the exposed filters. I've got hundreds of nodes called 'group' and I want user to be able ...
1
vote
0answers
10 views

taxonomy terms view with custom alphabar for not listed language

I could solve just part of my problem, check "taxonomy terms view with custom alphabar (for Spanish)". I'm working with two languages, Spanish and Mapudungun, so I have Spanish > Mapudungun and ...
1
vote
0answers
30 views

How to make a views with exposed filters, working with AJAX? (The pager is not working)

I have setup a views page with ajax behavior. It works well when there is no exposed filter, as you can see there: http://www.obersonabels.krown.ch/fr/publications_test username: demo password: ...
-3
votes
1answer
33 views

Filter result by using global php value in views

I am appending city code and city value in global php field in views Now I want to filter the result based on this field value. For example if a record having city code:NY and city:New York If i ...
0
votes
0answers
14 views

Multiple relationships in Views Contextual Filters

I use Views in every project, and its not that often that I run into a use case like this any more. In the set up below, I have a Content type with two field collection fields (day guest and evening ...
2
votes
1answer
27 views

How to use AJAX for an exposed filter form of a Views block?

I have a View, in a block, assigned to a region. I have enabled Ajax for the view. Pagination works with Ajax. Exposed filters do not. Exposed filters "submit". I am definitely willing to cut ...
1
vote
0answers
17 views

single exposed filter for two displays in same view

I have three displays in same view. Every display has exposed form filter and in every pages ajax was set yes. How to use a single exposed filter for these three displays in same view? I placed these ...
1
vote
0answers
19 views

Getting distance information on custom data table with Views (Drupal 7)

I am using Views to display a custom table (locations). I have everything setup properly but now, I would like to get the distance from the current user to display. I have first tried to get a ...
3
votes
1answer
60 views

How do I change the default '- Any -' option in views exposed filter?

I have exposed filters in a view as select lists. How can I change the text for the default filter option of "- Any -"? In previous versions it was suggested to use a preprocess function like this: ...
1
vote
0answers
41 views

how to filter view content by field value?

I have one content type (article) and in that I have created field "Article category" which is Term reference. I have created a view page where I am displaying (content title, Article category and ...
1
vote
0answers
12 views

Drupal 7 views filter content by owner on/off checkbox

I create View with Leaflet map, I have filters content by taxonomy terms (checkboxes), but I can't figure out how to create on/off checkbox content filter by the owner to show only own added content. ...
0
votes
1answer
27 views

Filters dropdown based on a parameter

I have a taxonomy, say 'Unit'. Besides the name of the Unit, there is a field called 'SubUnit'. All users in my Drupal site have assigned a Unit. On the node add forms (and on the Views, for ...
1
vote
0answers
13 views

views attachment geoloc exposed filter

I am trying to create a list of shops using views as a html list and also as shop icons in a ipgeoloc map. Both these views will need to use post code taxonomy as its exposed filter field, I am having ...
0
votes
0answers
21 views

Can't see the exposed form widget after adding filter criteria in Views

I need to add the widget to my filters that users would use (check) when they want to see content authored by users with phone number. I have "phone" field in user profile. I created relationship ...
1
vote
0answers
21 views

Error When Clicking - Add Another Item - An AJAX HTTP request terminated abnormally [closed]

On drupal 7, I have a problem with a form. Render content type form in drupal 7 everthing working fine but I created a Field Collection, when I click Add another item this error occurs /***********...
0
votes
1answer
26 views

Is it possible to combine contextual filters with regular filters?

I would like to take my standard taxonomy term view and add a "meta" category that would show up in addition to the term selected. The result should be that items in the meta category show up as well ...
0
votes
2answers
31 views

Views Exposed Filters AND result for multi select field

I'm working with a view with exposed filters for a directory style page. One of the filters is a multi-select check list, however, we want the results to return AND results only. It is currently ...
0
votes
0answers
30 views

how to redirect exposed filter search box input result

Result +================================================================== Displaying as a BLOCK VIEW on click of submit results should be displayed in new page. instead of showing below to ...
0
votes
0answers
14 views

How should I set OR operators between filters?

I'm maintaining a legacy Drupal 6 site that is running Views 2. I'm building a view that displays content of three different types. One (and only one) of these three content types has a checkbox field,...
1
vote
2answers
18 views

Possible to use tags/buttons as exposed filters?

I have a view that will be a grid of a dozen content types. I would like to have a tag-like button or text link above the view of content to allow the user to toggle / filter between what content type ...
0
votes
0answers
26 views

How do I show a list of user that don't have an article created for a specific year?

I have a strange query with views in Drupal 8. How do I get a list of users that have not created an article nor any other content published in a given year (2015)? I've been wrecking my head ...
0
votes
3answers
48 views

Exposed filter selectbox dropdown for a textfield

I have a textfield for one of my content types and there are many unique results for it. I am trying to create a View of this content type of this textfield as an Exposed Filter with a list of all the ...
1
vote
1answer
53 views

How to programmatically load a rendered view exposed filter block

I'm in Drupal 8 trying to load a Views Exposed Filter block based on its ID, similarly to how I would load a content block. $bid = 'exposedformview_nameview_display_name'; // Found on mysite.test/...
3
votes
1answer
23 views

Allow anonymous user to search custom account field

I have a custom account field called license number. How do I allow anonymous users to search for that license number and, after they select it, view that user's profile?
0
votes
2answers
22 views

Hide views tab display on user profile to profile owner

I have a use case where I need to create a page for members of two specific roles (Contributor and NAD Contributor) to see their own unpublished content. Using views relationships and filters, I've ...
4
votes
2answers
89 views

Fill filter between (min, max) field programmatically drupal

I have created the view. It displays all comments from a certain time period. So I need filter created date and between option, isn't it? But also I need to get these MIN and MAX options from node: ...
2
votes
1answer
60 views

How to hide a block in a view when an exposed filter is being applied?

I have built a view with exposed filters. There is a 'popular content' block on this page which I am controlling using the Context module (https://www.drupal.org/project/context) I would like it so ...
0
votes
2answers
15 views

Set view's filter to show nodes of entity refference field of current node

I have nodes of content type "product" and this content type has an entity reference field with multiple values, that contains references to another product nodes. Is it possible to set the filter ...
1
vote
0answers
17 views

Is there a way to merge / update result rows in Views with AJAX rather than the default which replaces the whole view div?

In a view with Use AJAX:Yes we see that upon filtering we get a completely new set of results and the div.view is completely replaced. Is there a way to merge rows rather than replace all rows? i.e. -...
1
vote
3answers
25 views

Apply view contextual filter only if user role is not administrator

I have a view that filter a list of taxonomies based on the taxonomies associated to the logged in user. This works fine. Now, I need to create an exception only for users with role "administrator" ...