Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Searching on alternate label

edited September 2013 in Feedback
Hi. I need to search occurrences alternate labels.
I use Providence 1.2 Pbcore profile.
Bundle's name is "alternate_labels".

For preferred labels I use the following code:
$qr_results->get('ca_occurrences.preferred_labels')

For nonpreferred labels:
$qr_results->get('ca_occurrences.nonpreferred_labels')

How should I retrieve occurrence alternate labels?.
I tried
$qr_results->get('ca_occurrences.alternate_labels'). But didn't work.

If I search the content of the field directly on the db it is stored in ca_attribute_values table.

Thanks.
Sebastian.

Comments

  • Where did "alternate_labels" come from? It's not in the PBCore profile so far as I know. It's definitely not in the recent ones.
  • Thanks for your answer. It turns out it was created by a member of the staff. Now I am able to search it.
Sign In or Register to comment.