Я бы очень признателен за помощь.
Я пытаюсь создать два разных открытых фильтра в представлениях. В настоящее время у меня есть 6000 узлов с 75 полями в каждом типе контента. Я использую Page View с открытой формой в блоке. У меня также установлен модуль Better Exposed Filters.
Во-первых, я хочу создать текстовое поле для поисковых терминов, , но оно должно выполнять поиск только в моих указанных полях . Я хотел бы, чтобы он искал 3 поля (чтобы сделать поиск по полному имени): Имя, Отчество, Фамилия. Они все в разных областях. Единственное, что мне удалось сделать, это выполнить поиск КАЖДЫЙ СРОК в типе контента (где он ищет каждое поле, а не только имя). Я сделал это, выставив этот фильтр:
Search: Search Terms
The terms to search for.
Следующий фильтр, который я пытаюсь сделать, - это поле "Graduation Class". Для этого также может быть лучше выполнить условия поиска (если я могу выяснить, как искать в ОДНОМ поле, как описано выше), но я надеялся получить выпадающий список, в котором перечислены все классы выпускных. Эти занятия в этой области варьируются от 1905-1972 гг. Если щелкнуть год в этом поле, он отфильтрует текущие результаты по этому году.
Это звучит довольно просто, но я не могу понять это и ДЕЙСТВИТЕЛЬНО оценил бы некоторую помощь.
Для справки (при необходимости) вот типы фильтров, которые я могу добавить. (Не по теме: на самом деле я не совсем уверен, что это за ": format") . Для фильтров «Content:» я буду показывать только «Name», потому что есть еще 73. Многие из этих фильтров взяты из модуля Feeds, потому что это то, что я использовал для импорта своих узлов:
Content: First Name (field_cinfo_fname)
Appears in: node:cadet.
Content: First Name (field_cinfo_fname:format)
Appears in: node:cadet.
Content: Middle Name (field_cinfo_mname)
Appears in: node:cadet.
Content: Middle Name (field_cinfo_mname:format)
Appears in: node:cadet.
Content: Last Name (field_cinfo_lname)
Appears in: node:cadet.
Content: Last Name (field_cinfo_lname:format)
Appears in: node:cadet.
Content access: Access
Filter for content by view access. Not necessary if you are using node as your base table.
Content revision: Log message
The log message entered when the revision was created.
Content revision: Title
The content title.
Content revision: Updated date
The date the node was last updated.
Content revision: Vid
The revision ID of the content revision.
Feeds item: Import date
Filter on a Feeds Item's import date field.
Feeds item: Item GUID
Filter on a Feeds Item's GUID field.
Feeds item: Item URL
Filter on a Feeds Item's URL field.
Feeds item: Owner feed nid
Filter on Feed Items by the Feed they were generated from using the Node Id of the Feed Node.
Feeds log: Feed node id
Filter on a Feeds Source's feed_nid field.
Feeds log: Importer id
Filter on an importer id.
Feeds log: Log time
The time of the event.
Feeds log: Request time
The time of the page request of an event.
Feeds log: Severity
Filter on the severity of a log message.
Feeds source: Feed node id
Filter on a Feeds Source's feed_nid field.
File Usage: Entity type
The type of entity that is related to the file.
File Usage: Module
The module managing this file relationship.
File Usage: Use count
The number of times the file is used by this entity.
Page Title: Title
A Page Title alternative to the Node: Title field.
Search: Links from
Other nodes that are linked from the node.
Search: Links to
Other nodes that link to the node.
Search: Search Terms
The terms to search for.