Files
raven-client/ayanova/src/views/home-search.vue
2020-03-06 20:08:50 +00:00

33 lines
1.4 KiB
Vue

<template>
<UnderConstruction />
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
/**
* NOTE: In router.js I've made the ayatype parameter OPTIONAL, so make sure to deal with that, it may be undefined, not just zero
* - PUT SEARCH into main menu, it's constantly there like help with the source as part of the data sent with the click
- I.E. source could be widget from list or widget entry form and so user is searching widgets or source could be a main page where there is no source so it's empty and search everything
- User clicks on search, it opens a main search form view which is also accessible under HOME section normally so two ways to get there
- PUT SEARCH into HOME section as a main form (make sure it has no search button on *it's* menu)
- Search page allows to select types of objects in an array (maybe, did I code the server that way or single at a time object type)
- Also tags can be selected
- Object type and tag sb clearable with easy single clicks to speed up searching.
- Results are in standard grid list which is sortable or printable or openable to records etc
*
*/
export default {
components: {
UnderConstruction
},
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "search",
title: window.$gz.translation.get("Search"),
helpUrl: "form-home-search"
});
}
};
</script>