-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bibdk2021 2038 quickfilters #1450
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ser godt ud 💪
import List from "@/components/base/forms/list"; | ||
import styles from "./quickFilter.module.css"; | ||
import { useQuickFilters } from "@/components/search/advancedSearch/useQuickFilters"; | ||
import Translate from "@/components/base/translate"; | ||
import Text from "@/components/base/text/Text"; | ||
|
||
function ListGroup({ filter }) { | ||
const { addQuickFilter, selectedQuickFilters } = useQuickFilters(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QuickFilter.js med stort Q 😬
</Text> | ||
{/*<p>{row.description}</p>*/} | ||
</List.Radio> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skal det væk🧹
.radio:first-child { | ||
border: none; | ||
/*background-color: red;*/ | ||
} | ||
|
||
.groupcontent { | ||
padding-left: var(--pt2); | ||
} | ||
|
||
.filterContainer { | ||
/*background-color: blue;*/ | ||
margin-bottom: var(--pt2); | ||
/*padding: 0 0 0 var(--pt2);*/ | ||
/*margin: 0 0 var(--pt2) var(--pt2);*/ | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skal det ikke væk🧹🧹
} | ||
|
||
console.log(selectedFacets, "SELECTED"); | ||
setFacetsQuery(JSON.stringify(selectedFacets)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hov 🧹🧹🧹
const quickfilters = [ | ||
// { label: "fisk", searchIndex: "term.accesstype", values: ["online"] }, | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fisk🐟
* tried to fix a test .. againg * added quickfilters in searchhistory
No description provided.