-
Notifications
You must be signed in to change notification settings - Fork 2
Search Improvements #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Search Improvements #287
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f6fb599
display queryable fields for places
paigewilliams 0891443
display searched fields for Activities
paigewilliams a22130e
display searched fields for Citations
paigewilliams 661cfb2
display searched fields for Media
paigewilliams dda4c8f
display searched fields for Resources
paigewilliams 6cccf0c
add migration for prepared_for verbose name change
paigewilliams fcf1e0d
add readonly_fields for CitationsAdmin
paigewilliams f97cd1e
add KeywordSearchable model to use with searchable record types
paigewilliams 944d337
update tests for keywords
paigewilliams d6467a3
add guide section with searchable fields in admin
paigewilliams e3bb30c
use class constants, not instance; add SearchableFieldsGuideMixin
paigewilliams File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
TEKDB/TEKDB/migrations/0028_alter_citations_preparedfor.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Generated by Django 4.2.30 on 2026-05-12 22:43 | ||
|
|
||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ('TEKDB', '0027_alter_mediabulkupload_mediabulkname'), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterField( | ||
| model_name='citations', | ||
| name='preparedfor', | ||
| field=models.CharField(blank=True, db_column='preparedfor', max_length=100, null=True, verbose_name='prepared for'), | ||
| ), | ||
| ] |
38 changes: 38 additions & 0 deletions
38
TEKDB/TEKDB/migrations/0029_citations_keywords_media_keywords_places_keywords_and_more.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Generated by Django 4.2.30 on 2026-05-12 23:06 | ||
|
|
||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ('TEKDB', '0028_alter_citations_preparedfor'), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name='citations', | ||
| name='keywords', | ||
| field=models.TextField(blank=True, null=True, verbose_name='keywords'), | ||
| ), | ||
| migrations.AddField( | ||
| model_name='media', | ||
| name='keywords', | ||
| field=models.TextField(blank=True, null=True, verbose_name='keywords'), | ||
| ), | ||
| migrations.AddField( | ||
| model_name='places', | ||
| name='keywords', | ||
| field=models.TextField(blank=True, null=True, verbose_name='keywords'), | ||
| ), | ||
| migrations.AddField( | ||
| model_name='resources', | ||
| name='keywords', | ||
| field=models.TextField(blank=True, null=True, verbose_name='keywords'), | ||
| ), | ||
| migrations.AddField( | ||
| model_name='resourcesactivityevents', | ||
| name='keywords', | ||
| field=models.TextField(blank=True, null=True, verbose_name='keywords'), | ||
| ), | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.